From: Jim Meyering Date: Wed, 22 Jan 1997 23:23:04 +0000 (+0000) Subject: [strftime]: Add parameters to macro definition. From Drepper. X-Git-Tag: TEXTUTILS-1_21a~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=48569d6b980c44f00162ff54eadf62fb98e171c9;p=thirdparty%2Fcoreutils.git [strftime]: Add parameters to macro definition. From Drepper. --- diff --git a/lib/strftime.c b/lib/strftime.c index 649cdf431a..f2a64c9d72 100644 --- a/lib/strftime.c +++ b/lib/strftime.c @@ -349,10 +349,12 @@ static char const month_name[][10] = # ifdef strftime # undef strftime # endif -# define strftime _strftime_copytm +# define strftime(S, Maxsize, Format, Tp) \ + _strftime_copytm ((S), (Maxsize), (Format), (Tp)) #endif + /* Write information from TP into S according to the format string FORMAT, writing no more that MAXSIZE characters (including the terminating '\0') and returning number of