diff options
author | Jim Meyering <jim@meyering.net> | 1997-01-22 23:23:04 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-01-22 23:23:04 +0000 |
commit | a77b1b108bc51e9426f80a736a8285f3dc1913ce (patch) | |
tree | d7bab62bc7a6796d5eca71ef511150ce0e505795 | |
parent | 5ae75e4efa59e7c23315103ec85aecb896e79625 (diff) | |
download | gnulib-a77b1b108bc51e9426f80a736a8285f3dc1913ce.tar.gz |
[strftime]: Add parameters to macro definition. From Drepper.
-rw-r--r-- | lib/strftime.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 |