secure_getenv: fix C++ declaration typo
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Feb 2013 20:41:47 +0000 (12:41 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Feb 2013 20:42:07 +0000 (12:42 -0800)
* lib/stdlib.in.h (secure_getenv): Fix typo with return type
in _GL_CXXALIAS_SYS macro.  Reported by John W. Eaton in
<http://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00057.html>.

ChangeLog
lib/stdlib.in.h

index b030833..df28305 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-02-09  Paul Eggert  <eggert@cs.ucla.edu>
+
+       secure_getenv: fix C++ declaration typo
+       * lib/stdlib.in.h (secure_getenv): Fix typo with return type
+       in _GL_CXXALIAS_SYS macro.  Reported by John W. Eaton in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00057.html>.
+
 2013-02-08  Paul Eggert  <eggert@cs.ucla.edu>
 
        careadlinkat: stop exporting careadlinkatcwd
index e054c52..c955248 100644 (file)
@@ -773,7 +773,7 @@ _GL_WARN_ON_USE (rpmatch, "rpmatch is unportable - "
 _GL_FUNCDECL_SYS (secure_getenv, char *,
                   (char const *name) _GL_ARG_NONNULL ((1)));
 # endif
-_GL_CXXALIAS_SYS (secure_getenv, int, (char const *name));
+_GL_CXXALIAS_SYS (secure_getenv, char *, (char const *name));
 _GL_CXXALIASWARN (secure_getenv);
 #elif defined GNULIB_POSIXCHECK
 # undef secure_getenv