From: Jim Meyering Date: Tue, 16 Jul 1996 05:08:29 +0000 (+0000) Subject: Use `(void)0' as second arg to add macro. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f3cca138f604b1ff7603c3e234bfad6b32fbf3f;p=pspp 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. --- diff --git a/lib/strftime.c b/lib/strftime.c index 934e61c30f..85e3c5feea 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;