Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 2021 06:11:06 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 087f336455ec - stable/12 - Declare time()
Message-ID:  <202110080611.1986B6m2007619@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=087f336455ec4aeacc19415cb779fc7b04fa36fc

commit 087f336455ec4aeacc19415cb779fc7b04fa36fc
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2020-08-28 05:40:02 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2021-10-08 05:24:27 +0000

    Declare time()
    
    Time is used and was accidentally brought in through header
    pollution. Declare it in stand.h directly instead.
    
    (cherry picked from commit b9c5b432637c04d4a803170b2fab7c9df2ef787b)
---
 stand/libsa/stand.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/stand/libsa/stand.h b/stand/libsa/stand.h
index c80edba48fa1..a7bef4184e3a 100644
--- a/stand/libsa/stand.h
+++ b/stand/libsa/stand.h
@@ -409,6 +409,11 @@ extern struct fs_ops	*file_system[];
 extern struct fs_ops	*exclusive_file_system;
 extern struct devsw	*devsw[];
 
+/*
+ * Time routines
+ */
+time_t time(time_t *);
+
 /*
  * Expose byteorder(3) functions.
  */



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