Provide a full prototype for the localtime() function in order to avoid a
compile time warning.
This commit is contained in:
parent
bf143b25e9
commit
b5e6aa6331
2 changed files with 6 additions and 1 deletions
|
@ -59,7 +59,7 @@
|
|||
extern char *strerror (int);
|
||||
|
||||
#ifndef localtime
|
||||
extern struct tm *localtime ();
|
||||
extern struct tm *localtime (const time_t *);
|
||||
#endif
|
||||
|
||||
#ifndef SEEK_SET
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue