git: 7a0a6b276cfd - main - libc: Move tzset.3 to stdtime
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Mar 2024 04:19:44 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=7a0a6b276cfd7e072346842fe4746d08ee30e617
commit 7a0a6b276cfd7e072346842fe4746d08ee30e617
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-03-12 04:19:15 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-03-12 04:19:31 +0000
libc: Move tzset.3 to stdtime
This really belongs in stddime, since it documents interfaces
implemented in stdtime.
Suggested by: brooks
Sponsored by: Netflix
---
lib/libc/gen/Makefile.inc | 3 ---
lib/libc/stdtime/Makefile.inc | 4 +++-
lib/libc/{gen => stdtime}/tzset.3 | 0
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc
index 9c79cd589395..2f034e7d476a 100644
--- a/lib/libc/gen/Makefile.inc
+++ b/lib/libc/gen/Makefile.inc
@@ -308,7 +308,6 @@ MAN+= alarm.3 \
timespec_get.3 \
timespec_getres.3 \
ttyname.3 \
- tzset.3 \
ualarm.3 \
ucontext.3 \
ulimit.3 \
@@ -534,8 +533,6 @@ MLINKS+=tcsetattr.3 cfgetispeed.3 \
tcsetattr.3 tcgetattr.3
MLINKS+=ttyname.3 isatty.3 \
ttyname.3 ttyname_r.3
-MLINKS+=tzset.3 daylight.3 \
- tzset.3 timezone.3
MLINKS+=unvis.3 strunvis.3 \
unvis.3 strunvisx.3
MLINKS+=vis.3 nvis.3 \
diff --git a/lib/libc/stdtime/Makefile.inc b/lib/libc/stdtime/Makefile.inc
index 07ca69aab4c5..5d0ce7765b63 100644
--- a/lib/libc/stdtime/Makefile.inc
+++ b/lib/libc/stdtime/Makefile.inc
@@ -20,7 +20,7 @@ CFLAGS.localtime.c+= -DALL_STATE -DTHREAD_SAFE
CFLAGS.localtime.c+= -DDETECT_TZ_CHANGES
.endif
-MAN+= ctime.3 strftime.3 strptime.3 time2posix.3
+MAN+= ctime.3 strftime.3 strptime.3 time2posix.3 tzset.3
MAN+= tzfile.5
MLINKS+=ctime.3 asctime.3 ctime.3 difftime.3 ctime.3 gmtime.3 \
@@ -30,3 +30,5 @@ MLINKS+=ctime.3 asctime.3 ctime.3 difftime.3 ctime.3 gmtime.3 \
MLINKS+=strftime.3 strftime_l.3
MLINKS+=strptime.3 strptime_l.3
MLINKS+=time2posix.3 posix2time.3
+MLINKS+=tzset.3 daylight.3 \
+ tzset.3 timezone.3
diff --git a/lib/libc/gen/tzset.3 b/lib/libc/stdtime/tzset.3
similarity index 100%
rename from lib/libc/gen/tzset.3
rename to lib/libc/stdtime/tzset.3