From d704fa2c9fda8c29635b346165a1f2802644cffa Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 9 Feb 2013 12:41:47 -0800 Subject: [PATCH] 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 . --- ChangeLog | 7 +++++++ lib/stdlib.in.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 -- 2.11.0