Date: Fri, 12 Jan 2018 16:28:51 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r327880 - head/stand/libsa Message-ID: <201801121628.w0CGSpS6021356@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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[];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801121628.w0CGSpS6021356>