From 37bf59067f2a2dc2af676bf78de7ef435db90768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Mon, 6 Mar 2023 16:50:30 +0100 Subject: [PATCH] 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 --- libmisc/gettime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmisc/gettime.c b/libmisc/gettime.c index fb2dbe9f..bb6e8443 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;