From d85acc4abdf78d3e631069be794457705882ab7f Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 7 Feb 2015 17:27:03 -0800 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ lib/xalloc.h | 1 + 2 files changed, 7 insertions(+) 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_ */ -- 2.39.5