changeset 862:2d0d33f8b1db

[strftime]: Add parameters to macro definition. From Drepper.
author Jim Meyering <jim@meyering.net>
date Wed, 22 Jan 1997 23:23:04 +0000
parents 222744292e37
children 976c81581386
files lib/strftime.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/strftime.c
+++ b/lib/strftime.c
@@ -349,10 +349,12 @@
 # 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