Move getsecs() prototype to stand.h from net.h so it can be used

everywhere.

Sponsored by: Netflix
This commit is contained in:
Warner Losh 2018-01-12 16:28:51 +00:00
parent 8d578b39fd
commit 31d0558678
2 changed files with 1 additions and 2 deletions

View File

@ -128,6 +128,4 @@ char *inet_ntoa(struct in_addr);
char *intoa(n_long); /* similar to inet_ntoa */
n_long inet_addr(char *);
/* Machine-dependent functions: */
time_t getsecs(void);
#endif /* ! _STAND_NET_H */

View File

@ -394,6 +394,7 @@ extern void putchar(int);
extern int devopen(struct open_file *, const char *, const char **);
extern int devclose(struct open_file *f);
extern void panic(const char *, ...) __dead2 __printflike(1, 2);
extern time_t getsecs(void);
extern struct fs_ops *file_system[];
extern struct fs_ops *exclusive_file_system;
extern struct devsw *devsw[];