From: Bruno Haible Date: Fri, 17 Sep 2010 02:13:58 +0000 (+0200) Subject: unlockpt: Fix declaration within GNULIB_POSIXCHECK. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad739a2be8c9eccadb7932665420a7c835fb8bd2;p=pspp unlockpt: Fix declaration within GNULIB_POSIXCHECK. * lib/stdlib.in.h (unlockpt): Fix warning declaration. --- diff --git a/ChangeLog b/ChangeLog index 63524d88e4..624e412221 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index 4629bd9868..f4309ed73f 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