unlockpt: Fix declaration within GNULIB_POSIXCHECK.
authorBruno Haible <bruno@clisp.org>
Fri, 17 Sep 2010 02:13:58 +0000 (04:13 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 17 Sep 2010 02:13:58 +0000 (04:13 +0200)
* lib/stdlib.in.h (unlockpt): Fix warning declaration.

ChangeLog
lib/stdlib.in.h

index 63524d88e4717b05aba955a36334b3d2b4cb48dc..624e41222175f8cdf87b4733e2698b69b4dd2e38 100644 (file)
--- 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.
index 4629bd9868872a2f1131f26d705ce2b96ebefbb1..f4309ed73fe309c29510caa49c0975dc40d2e599 100644 (file)
@@ -680,7 +680,7 @@ _GL_CXXALIASWARN (unlockpt);
 #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