aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2024-03-12 04:19:05 +0000
committerWarner Losh <imp@FreeBSD.org>2024-03-12 04:19:31 +0000
commita34940a9756ac8edce36fec176949ee82e9235b4 (patch)
treedb91243012992e68c34ee7fadc0d71c2fc4ab06c /include
parent7b133b34f8e8508838c3ce334a632715efc2f547 (diff)
Diffstat (limited to 'include')
-rw-r--r--include/time.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/time.h b/include/time.h
index 0ba685426f82..defad96907bf 100644
--- a/include/time.h
+++ b/include/time.h
@@ -162,10 +162,11 @@ struct tm *localtime_r(const time_t *, struct tm *);
#if __XSI_VISIBLE
char *strptime(const char * __restrict, const char * __restrict,
struct tm * __restrict);
+extern long timezone;
+extern int daylight;
#endif
#if __BSD_VISIBLE
-char *timezone(int, int); /* XXX XSI conflict */
time_t timelocal(struct tm * const);
time_t timegm(struct tm * const);
int timer_oshandle_np(timer_t timerid);