projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ff53d6
)
Use `(void)0' as second arg to add macro.
author
Jim Meyering
<jim@meyering.net>
Tue, 16 Jul 1996 05:08:29 +0000
(
05:08
+0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 16 Jul 1996 05:08:29 +0000
(
05:08
+0000)
Omitting that second arg made some HPUX C compiler report an error.
From Kaveh R. Ghazi.
lib/strftime.c
patch
|
blob
|
history
diff --git
a/lib/strftime.c
b/lib/strftime.c
index 934e61c30fcfadc3afef2f898eb6fbea9244bb12..85e3c5feea7e9bcf6afbdced04c68e4d00595095 100644
(file)
--- a/
lib/strftime.c
+++ b/
lib/strftime.c
@@
-301,7
+301,7
@@
strftime (s, maxsize, format, tp)
size_t len = strftime (p, maxsize - i, subfmt, tp);
if (len == 0 && *subfmt)
return 0;
- add(len, );
+ add(len,
(void) 0
);
}
break;