aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2023-03-07 16:04:29 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2023-03-07 17:20:49 +0000
commita9a38dea37ef4b8a404978de9c5db0ab9f0ba07b (patch)
tree4f12a096cb639d47da937475a87dcf3b8612d452 /lib/libc/gen
parent473a2c9a40e8413c8dec340472b0b0970536eafb (diff)
downloadsrc-a9a38dea37ef4b8a404978de9c5db0ab9f0ba07b.tar.gz
src-a9a38dea37ef4b8a404978de9c5db0ab9f0ba07b.zip
libc: Remove prototype and documentation for tzsetwall().
PR: 269445 Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D38481
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/Makefile.inc1
-rw-r--r--lib/libc/gen/tzset.322
2 files changed, 3 insertions, 20 deletions
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc
index f222565fd0bc..860e96bcd291 100644
--- a/lib/libc/gen/Makefile.inc
+++ b/lib/libc/gen/Makefile.inc
@@ -547,7 +547,6 @@ MLINKS+=tcsetattr.3 cfgetispeed.3 \
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
index 788a6259b727..0403fd4a5366 100644
--- 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 @@ environment variable does not specify a
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 @@ leap seconds are loaded from
.Sh HISTORY
The
.Fn tzset
-and
-.Fn tzsetwall
-functions first appeared in
+function first appeared in
.Bx 4.4 .