svn commit: r327880 - head/stand/libsa
Warner Losh
imp at FreeBSD.org
Fri Jan 12 16:28:52 UTC 2018
Author: imp
Date: Fri Jan 12 16:28:51 2018
New Revision: 327880
URL: https://svnweb.freebsd.org/changeset/base/327880
Log:
Move getsecs() prototype to stand.h from net.h so it can be used
everywhere.
Sponsored by: Netflix
Modified:
head/stand/libsa/net.h
head/stand/libsa/stand.h
Modified: head/stand/libsa/net.h
==============================================================================
--- head/stand/libsa/net.h Fri Jan 12 15:30:56 2018 (r327879)
+++ head/stand/libsa/net.h Fri Jan 12 16:28:51 2018 (r327880)
@@ -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 */
Modified: head/stand/libsa/stand.h
==============================================================================
--- head/stand/libsa/stand.h Fri Jan 12 15:30:56 2018 (r327879)
+++ head/stand/libsa/stand.h Fri Jan 12 16:28:51 2018 (r327880)
@@ -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[];
More information about the svn-src-all
mailing list