Declare time()

Time is used and was accidentally brought in through header
pollution. Declare it in stand.h directly instead.
This commit is contained in:
Warner Losh 2020-08-28 05:40:02 +00:00
parent 233a5529d1
commit b9c5b43263

View File

@ -408,6 +408,11 @@ extern struct fs_ops *file_system[];
extern struct fs_ops *exclusive_file_system;
extern struct devsw *devsw[];
/*
* Time routines
*/
time_t time(time_t *);
/*
* Expose byteorder(3) functions.
*/