From: Christian Göttsche Date: Mon, 6 Mar 2023 15:50:30 +0000 (+0100) Subject: Use strict prototype in definition X-Git-Tag: 4.14.0-rc1~139 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37bf59067f2a2dc2af676bf78de7ef435db90768;p=thirdparty%2Fshadow.git Use strict prototype in definition gettime.c:25:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] /*@observer@*/time_t gettime () ^ void --- diff --git a/libmisc/gettime.c b/libmisc/gettime.c index fb2dbe9fc..bb6e8443d 100644 --- a/libmisc/gettime.c +++ b/libmisc/gettime.c @@ -22,7 +22,7 @@ * Epoch, 1970-01-01 00:00:00 +0000 (UTC), except that if the SOURCE_DATE_EPOCH * environment variable is exported it will use that instead. */ -/*@observer@*/time_t gettime () +/*@observer@*/time_t gettime (void) { char *endptr; char *source_date_epoch;