bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] xalloc: fix typo that suppressed warnings


From: Paul Eggert
Subject: [PATCH] xalloc: fix typo that suppressed warnings
Date: Sat, 7 Feb 2015 17:27:39 -0800

* lib/xalloc.h: Add missing _GL_INLINE_HEADER_END.
This typo, introduced a couple of years ago, mistakenly suppressed
some -Wsuggest-attribute=const, -Wmissing-prototypes, and
-Wmissing-declarations warnings.
---
 ChangeLog    | 6 ++++++
 lib/xalloc.h | 1 +
 2 files changed, 7 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index e05ced6..774903e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2015-02-07  Paul Eggert  <address@hidden>
 
+       xalloc: fix typo that suppressed warnings
+       * lib/xalloc.h: Add missing _GL_INLINE_HEADER_END.
+       This typo, introduced a couple of years ago, mistakenly suppressed
+       some -Wsuggest-attribute=const, -Wmissing-prototypes, and
+       -Wmissing-declarations warnings.
+
        full-read: fix license notice typo
        * lib/full-read.h: Remove a stray line in the license notice.
        Reported by Sam Ellis in: http://bugs.gnu.org/19808
diff --git a/lib/xalloc.h b/lib/xalloc.h
index 3dfaa87..68f847a 100644
--- a/lib/xalloc.h
+++ b/lib/xalloc.h
@@ -258,5 +258,6 @@ xmemdup (T const *p, size_t s)
 
 #endif
 
+_GL_INLINE_HEADER_END
 
 #endif /* !XALLOC_H_ */
-- 
2.1.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]