]> Savannah Git Hosting - gnulib.git/commitdiff
xalloc: fix typo that suppressed warnings
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 8 Feb 2015 01:27:03 +0000 (17:27 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 8 Feb 2015 01:27:23 +0000 (17:27 -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
lib/xalloc.h

index e05ced696db8885c73191e8c71f0890483fe144f..774903ece95a03afadc43674ea6562f93d958c0b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2015-02-07  Paul Eggert  <eggert@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
index 3dfaa87fe408a46b8e06a52122db9c4591c99df3..68f847a2c4ee877948d3584b23c7f83193245bdb 100644 (file)
@@ -258,5 +258,6 @@ xmemdup (T const *p, size_t s)
 
 #endif
 
+_GL_INLINE_HEADER_END
 
 #endif /* !XALLOC_H_ */