Mercurial > hg > octave-nkf > gnulib-hg
changeset 17330:0fb629c87fb5
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>.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sat, 09 Feb 2013 12:41:47 -0800 |
parents | b1b7de2c4a71 |
children | fea72d948013 bb52d9cece01 |
files | ChangeLog lib/stdlib.in.h |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h @@ -773,7 +773,7 @@ _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