summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-07-16 05:08:29 +0000
committerJim Meyering <jim@meyering.net>1996-07-16 05:08:29 +0000
commite0ac8328428824982c2be39a12b239045af56b8a (patch)
tree27055a40872ec93894f60f23414c63300f896201 /lib
parentff1fc50954688428464fe7e272e223e32d580541 (diff)
downloadcoreutils-e0ac8328428824982c2be39a12b239045af56b8a.tar.xz
Use `(void)0' as second arg to add macro.
Omitting that second arg made some HPUX C compiler report an error. From Kaveh R. Ghazi.
Diffstat (limited to 'lib')
-rw-r--r--lib/strftime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strftime.c b/lib/strftime.c
index 934e61c30..85e3c5fee 100644
--- 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;