From: Paul Eggert Date: Sun, 8 Feb 2015 01:27:03 +0000 (-0800) Subject: xalloc: fix typo that suppressed warnings X-Git-Tag: v1.0~7164 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=d85acc4abdf78d3e631069be794457705882ab7f;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index e05ced696d..774903ece9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2015-02-07 Paul Eggert + 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_ */