svn commit: r364901 - head/stand/libsa
Warner Losh
imp at FreeBSD.org
Fri Aug 28 05:40:03 UTC 2020
Author: imp
Date: Fri Aug 28 05:40:02 2020
New Revision: 364901
URL: https://svnweb.freebsd.org/changeset/base/364901
Log:
Declare time()
Time is used and was accidentally brought in through header
pollution. Declare it in stand.h directly instead.
Modified:
head/stand/libsa/stand.h
Modified: head/stand/libsa/stand.h
==============================================================================
--- head/stand/libsa/stand.h Fri Aug 28 02:20:25 2020 (r364900)
+++ head/stand/libsa/stand.h Fri Aug 28 05:40:02 2020 (r364901)
@@ -409,6 +409,11 @@ extern struct fs_ops *exclusive_file_system;
extern struct devsw *devsw[];
/*
+ * Time routines
+ */
+time_t time(time_t *);
+
+/*
* Expose byteorder(3) functions.
*/
#ifndef _BYTEORDER_PROTOTYPED
More information about the svn-src-all
mailing list