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
This commit is contained in:
Christian Göttsche 2023-03-06 16:50:30 +01:00 committed by Iker Pedrosa
parent e638841f5a
commit 37bf59067f
1 changed files with 1 additions and 1 deletions

View File

@ -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;