From b9c5b432637c04d4a803170b2fab7c9df2ef787b Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 28 Aug 2020 05:40:02 +0000 Subject: [PATCH] Declare time() Time is used and was accidentally brought in through header pollution. Declare it in stand.h directly instead. --- stand/libsa/stand.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stand/libsa/stand.h b/stand/libsa/stand.h index d7e037fecc1..09dfe842cf4 100644 --- a/stand/libsa/stand.h +++ b/stand/libsa/stand.h @@ -408,6 +408,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. */ -- 2.45.0