From: Bruno Haible Date: Sat, 10 Mar 2007 11:20:32 +0000 (+0000) Subject: Treat __strftime__ and __strfmon__ like __scanf__. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53ed71f6a1cc4207b1972b73e4b5e1e830c8119d;p=pspp Treat __strftime__ and __strfmon__ like __scanf__. --- diff --git a/ChangeLog b/ChangeLog index c302a51e1e..ceddbedcd9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,7 +10,8 @@ * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Set also GNULIB_PRINTF_POSIX, REPLACE_PRINTF. * lib/stdio_.h (printf): New declaration. - (format, __format__, ____printf____, ____scanf____): New macros. + (format, __format__, ____printf____, ____scanf____, ____strftime____, + ____strfmon____): New macros. * modules/stdio (Makefile.am): Substitute also GNULIB_PRINTF_POSIX, REPLACE_PRINTF. diff --git a/lib/stdio_.h b/lib/stdio_.h index 18d422a11d..3e97812fb7 100644 --- a/lib/stdio_.h +++ b/lib/stdio_.h @@ -86,6 +86,8 @@ extern int printf (const char *format, ...); # define __format__(kind,m,n) __format__ (__##kind##__, m, n) # define ____printf____ __printf__ # define ____scanf____ __scanf__ +# define ____strftime____ __strftime__ +# define ____strfmon____ __strfmon__ #endif #if @GNULIB_VPRINTF_POSIX@