Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102600711
D38481.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D38481.diff
View Options
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -52,6 +52,9 @@
# xargs -n1 | sort | uniq -d;
# done
+# 20230306: remove tzsetwall(3)
+OLD_FILES+=usr/share/man/man3/tzsetwall.3.gz
+
# 20230208: new clang import which bumps version from 14.0.5 to 15.0.7
OLD_FILES+=usr/lib/clang/14.0.5/include/cuda_wrappers/algorithm
OLD_FILES+=usr/lib/clang/14.0.5/include/cuda_wrappers/complex
diff --git a/include/time.h b/include/time.h
--- a/include/time.h
+++ b/include/time.h
@@ -169,7 +169,6 @@
#if __BSD_VISIBLE
char *timezone(int, int); /* XXX XSI conflict */
-void tzsetwall(void);
time_t timelocal(struct tm * const);
time_t timegm(struct tm * const);
int timer_oshandle_np(timer_t timerid);
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc
--- a/lib/libc/gen/Makefile.inc
+++ b/lib/libc/gen/Makefile.inc
@@ -547,7 +547,6 @@
tcsetattr.3 tcgetattr.3
MLINKS+=ttyname.3 isatty.3 \
ttyname.3 ttyname_r.3
-MLINKS+=tzset.3 tzsetwall.3
MLINKS+=unvis.3 strunvis.3 \
unvis.3 strunvisx.3
MLINKS+=vis.3 nvis.3 \
diff --git a/lib/libc/gen/tzset.3 b/lib/libc/gen/tzset.3
--- a/lib/libc/gen/tzset.3
+++ b/lib/libc/gen/tzset.3
@@ -31,12 +31,11 @@
.\" @(#)tzset.3 8.2 (Berkeley) 11/17/93
.\" $FreeBSD$
.\"
-.Dd February 8, 2023
+.Dd March 6, 2023
.Dt TZSET 3
.Os
.Sh NAME
-.Nm tzset ,
-.Nm tzsetwall
+.Nm tzset
.Nd initialize time conversion information
.Sh LIBRARY
.Lb libc
@@ -44,8 +43,6 @@
.In time.h
.Ft void
.Fn tzset void
-.Ft void
-.Fn tzsetwall void
.Sh DESCRIPTION
The
.Fn tzset
@@ -99,17 +96,6 @@
file and cannot be interpreted as a direct specification,
.Tn UTC
is used.
-.Pp
-The
-.Fn tzsetwall
-function is equivalent to calling
-.Fn tzset
-with the
-.Ev TZ
-environment variable unset.
-It is deprecated and may not be available in
-.Fx 14.0
-and later.
.Sh SPECIFICATION FORMAT
When
.Ev TZ
@@ -336,7 +322,5 @@
.Sh HISTORY
The
.Fn tzset
-and
-.Fn tzsetwall
-functions first appeared in
+function first appeared in
.Bx 4.4 .
diff --git a/lib/libc/stdtime/ctime.3 b/lib/libc/stdtime/ctime.3
--- a/lib/libc/stdtime/ctime.3
+++ b/lib/libc/stdtime/ctime.3
@@ -30,7 +30,7 @@
.\" From: @(#)ctime.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd September 16, 2022
+.Dd March 6, 2023
.Dt CTIME 3
.Os
.Sh NAME
@@ -395,9 +395,7 @@
structure points to a static array of characters,
which will also be overwritten by any subsequent calls (as well as by
subsequent calls to
-.Xr tzset 3
-and
-.Xr tzsetwall 3 ) .
+.Xr tzset 3 ) .
.Pp
Use of the external variable
.Fa tzname
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 15, 3:23 PM (17 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14644537
Default Alt Text
D38481.diff (2 KB)
Attached To
Mode
D38481: libc: Remove prototype and documentation for tzsetwall().
Attached
Detach File
Event Timeline
Log In to Comment