From: Bruno Haible Date: Fri, 17 Sep 2010 02:13:58 +0000 (+0200) Subject: unlockpt: Fix declaration within GNULIB_POSIXCHECK. X-Git-Tag: v0.1~3794 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=ad739a2be8c9eccadb7932665420a7c835fb8bd2;p=gnulib.git unlockpt: Fix declaration within GNULIB_POSIXCHECK. * lib/stdlib.in.h (unlockpt): Fix warning declaration. --- diff --git a/ChangeLog b/ChangeLog index 63524d88e..624e41222 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-09-16 Bruno Haible + unlockpt: Fix declaration within GNULIB_POSIXCHECK. + * lib/stdlib.in.h (unlockpt): Fix warning declaration. + +2010-09-16 Bruno Haible + login_tty: Fix detection of function on FreeBSD, OpenBSD, NetBSD. * m4/pty.m4 (gl_FUNC_LOGIN_TTY): Augment LIBS while checking whether login_tty exists. diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index 4629bd986..f4309ed73 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h @@ -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