bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH 01/16] warn-on-use: do not depend on 'inline'


From: Paul Eggert
Subject: [PATCH 01/16] warn-on-use: do not depend on 'inline'
Date: Sat, 18 Aug 2012 17:50:46 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0

* build-aux/snippet/warn-on-use.h: Remove unnecessary 'inline'
from comment.
---
 ChangeLog                       |    6 ++++++
 build-aux/snippet/warn-on-use.h |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 22e77db..f1a7bc6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-08-18  Paul Eggert  <address@hidden>
+
+       warn-on-use: do not depend on 'inline'
+       * build-aux/snippet/warn-on-use.h: Remove unnecessary 'inline'
+       from comment.
+
 2012-08-17  Paul Eggert  <address@hidden>
 
        test-parse-datetime: avoid glibc leap-second glitch
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.6.5




reply via email to

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