bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 12/13] snippet/warn-on-use: no 'static inline'


From: Paul Eggert
Subject: [PATCH 12/13] snippet/warn-on-use: no 'static inline'
Date: Thu, 08 Nov 2012 23:52:53 -0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121028 Thunderbird/16.0.2

* 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 8e6714b..f1c350a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2012-11-08  Paul Eggert  <address@hidden>
 
+       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 c7bea5d..abfcace 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 ())
-- 
1.7.11.7




reply via email to

[Prev in Thread] Current Thread [Next in Thread]