projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ae75e4
)
[strftime]: Add parameters to macro definition. From Drepper.
author
Jim Meyering
<jim@meyering.net>
Wed, 22 Jan 1997 23:23:04 +0000
(23:23 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 22 Jan 1997 23:23:04 +0000
(23:23 +0000)
lib/strftime.c
patch
|
blob
|
history
diff --git
a/lib/strftime.c
b/lib/strftime.c
index 649cdf431a85d5ffcc58ba6dbc5213000d045e0d..f2a64c9d7285cf71ff427579f60d9f2375de4e0c 100644
(file)
--- 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