changeset 17325: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 bb52d9cece01 fea72d948013
files ChangeLog lib/stdlib.in.h
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Feb 08 15:12:36 2013 -0800
+++ b/ChangeLog	Sat Feb 09 12:41:47 2013 -0800
@@ -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	Fri Feb 08 15:12:36 2013 -0800
+++ b/lib/stdlib.in.h	Sat Feb 09 12:41:47 2013 -0800
@@ -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