From: Paul Eggert Date: Sat, 9 Feb 2013 20:41:47 +0000 (-0800) Subject: secure_getenv: fix C++ declaration typo X-Git-Tag: v0.1~204 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=d704fa2c9fda8c29635b346165a1f2802644cffa;p=gnulib.git 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 . --- diff --git a/ChangeLog b/ChangeLog index b03083355..df283055f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2013-02-09 Paul Eggert + + 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 + . + 2013-02-08 Paul Eggert careadlinkat: stop exporting careadlinkatcwd diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index e054c520e..c9552480e 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h @@ -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