From 038d8f13e39320ac1838609caf367f49c634d716 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 20 Nov 2012 22:25:10 -0800 Subject: [PATCH] snippet/warn-on-use: no 'static inline' * build-aux/snippet/warn-on-use.h: Remove unnecessary 'inline' in comment. --- ChangeLog | 4 ++++ build-aux/snippet/warn-on-use.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 59936b42c..9ac628ad0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2012-11-29 Paul Eggert + snippet/warn-on-use: no 'static inline' + * build-aux/snippet/warn-on-use.h: + Remove unnecessary 'inline' in comment. + rbtree-list, rbtreehash-list: no 'static inline' * lib/gl_anyrbtree_list2.h (rotate_left, rotate_right): * lib/gl_anytree_list2.h (node_at): diff --git a/build-aux/snippet/warn-on-use.h b/build-aux/snippet/warn-on-use.h index c7bea5dba..abfcace83 100644 --- a/build-aux/snippet/warn-on-use.h +++ b/build-aux/snippet/warn-on-use.h @@ -55,7 +55,7 @@ rather than issue the nice warning, but the end result of informing the developer about their portability problem is still achieved): #if HAVE_RAW_DECL_ENVIRON - static inline char ***rpl_environ (void) { return &environ; } + static char ***rpl_environ (void) { return &environ; } _GL_WARN_ON_USE (rpl_environ, "environ is not always properly declared"); # undef environ # define environ (*rpl_environ ()) -- 2.11.0