The branch stable/12 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=087f336455ec4aeacc19415cb779fc7b04fa36fc
commit 087f336455ec4aeacc19415cb779fc7b04fa36fc Author: Warner Losh <[email protected]> AuthorDate: 2020-08-28 05:40:02 +0000 Commit: Kyle Evans <[email protected]> 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. */
