changeset 13693:9b64bed10922

unlockpt: Fix declaration within GNULIB_POSIXCHECK. * lib/stdlib.in.h (unlockpt): Fix warning declaration.
author Bruno Haible <bruno@clisp.org>
date Fri, 17 Sep 2010 04:13:58 +0200
parents 4ca8fd7377b9
children 5a8df829305e
files ChangeLog lib/stdlib.in.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-09-16  Bruno Haible  <bruno@clisp.org>
+
+	unlockpt: Fix declaration within GNULIB_POSIXCHECK.
+	* lib/stdlib.in.h (unlockpt): Fix warning declaration.
+
 2010-09-16  Bruno Haible  <bruno@clisp.org>
 
 	login_tty: Fix detection of function on FreeBSD, OpenBSD, NetBSD.
--- a/lib/stdlib.in.h
+++ b/lib/stdlib.in.h
@@ -680,7 +680,7 @@
 #elif defined GNULIB_POSIXCHECK
 # undef unlockpt
 # if HAVE_RAW_DECL_UNLOCKPT
-_GL_WARN_ON_USE (ptsname, "unlockpt is not portable - "
+_GL_WARN_ON_USE (unlockpt, "unlockpt is not portable - "
                  "use gnulib module unlockpt for portability");
 # endif
 #endif