summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-02-07 17:27:03 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-02-07 17:27:23 -0800
commitd85acc4abdf78d3e631069be794457705882ab7f (patch)
treeacdfa41f2db3d092ac7a1fad61e73344472661f0
parentb2c48c1e6571c022e12a741917a5b9e141d42928 (diff)
downloadgnulib-d85acc4abdf78d3e631069be794457705882ab7f.tar.gz
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.
-rw-r--r--ChangeLog6
-rw-r--r--lib/xalloc.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e05ced696d..774903ece9 100644
--- 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
diff --git a/lib/xalloc.h b/lib/xalloc.h
index 3dfaa87fe4..68f847a2c4 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_ */