* 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  <egg...@cs.ucla.edu>
 
+       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