Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2020 05:40:02 +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: r364901 - head/stand/libsa
Message-ID:  <202008280540.07S5e2pI051278@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008280540.07S5e2pI051278>