Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F96296256
D38409.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D38409.id.diff
View Options
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/tzset.3 b/lib/libc/gen/tzset.3
--- a/lib/libc/gen/tzset.3
+++ b/lib/libc/gen/tzset.3
@@ -35,8 +35,7 @@
.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,13 +96,6 @@
file and cannot be interpreted as a direct specification,
.Tn UTC
is used.
-.Pp
-The
-.Fn tzsetwall
-function
-sets things up so that
-.Xr localtime 3
-returns the best available approximation of local wall clock time.
.Sh SPECIFICATION FORMAT
When
.Ev TZ
@@ -336,3 +326,7 @@
.Fn tzsetwall
functions first appeared in
.Bx 4.4 .
+The
+.Fn tzsetwall
+function was removed in
+.Fx 14.0 .
diff --git a/lib/libc/stdtime/Symbol.map b/lib/libc/stdtime/Symbol.map
--- a/lib/libc/stdtime/Symbol.map
+++ b/lib/libc/stdtime/Symbol.map
@@ -14,7 +14,6 @@
strptime;
strftime;
tzname;
- tzsetwall;
tzset;
localtime;
localtime_r;
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
@@ -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
Wed, Sep 25, 10:00 AM (4 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
12677741
Default Alt Text
D38409.id.diff (1 KB)
Attached To
Mode
D38409: tzcode: garbage collect references to tzsetwall
Attached
Detach File
Event Timeline
Log In to Comment