changeset 17894:bfac2afaac8b

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.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 07 Feb 2015 17:27:03 -0800
parents b24d3b77f0ad
children 5aab9ce8ce71
files ChangeLog lib/xalloc.h
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/lib/xalloc.h
+++ b/lib/xalloc.h
@@ -258,5 +258,6 @@
 
 #endif
 
+_GL_INLINE_HEADER_END
 
 #endif /* !XALLOC_H_ */