legacy junk compatibility grab-bag

- add the rest of the junk traditionally in sys/param.h
- add prototypes for some nonstandard functions
- add _GNU_SOURCE to their source files so the compiler can check proto
This commit is contained in:
Rich Felker
2012-04-18 12:22:24 -04:00
parent ed0e3a357e
commit ba6a9e7734
6 changed files with 36 additions and 7 deletions

View File

@ -108,6 +108,11 @@ struct tm *getdate (const char *);
#endif
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
int stime(time_t *);
#endif
#ifdef __cplusplus
}
#endif