mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
libc: Remove prototype and documentation for tzsetwall().
PR: 269445 Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D38481
This commit is contained in:
parent
473a2c9a40
commit
a9a38dea37
|
@ -52,6 +52,9 @@
|
||||||
# xargs -n1 | sort | uniq -d;
|
# xargs -n1 | sort | uniq -d;
|
||||||
# done
|
# 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
|
# 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/algorithm
|
||||||
OLD_FILES+=usr/lib/clang/14.0.5/include/cuda_wrappers/complex
|
OLD_FILES+=usr/lib/clang/14.0.5/include/cuda_wrappers/complex
|
||||||
|
|
|
@ -169,7 +169,6 @@ char *strptime(const char * __restrict, const char * __restrict,
|
||||||
|
|
||||||
#if __BSD_VISIBLE
|
#if __BSD_VISIBLE
|
||||||
char *timezone(int, int); /* XXX XSI conflict */
|
char *timezone(int, int); /* XXX XSI conflict */
|
||||||
void tzsetwall(void);
|
|
||||||
time_t timelocal(struct tm * const);
|
time_t timelocal(struct tm * const);
|
||||||
time_t timegm(struct tm * const);
|
time_t timegm(struct tm * const);
|
||||||
int timer_oshandle_np(timer_t timerid);
|
int timer_oshandle_np(timer_t timerid);
|
||||||
|
|
|
@ -547,7 +547,6 @@ MLINKS+=tcsetattr.3 cfgetispeed.3 \
|
||||||
tcsetattr.3 tcgetattr.3
|
tcsetattr.3 tcgetattr.3
|
||||||
MLINKS+=ttyname.3 isatty.3 \
|
MLINKS+=ttyname.3 isatty.3 \
|
||||||
ttyname.3 ttyname_r.3
|
ttyname.3 ttyname_r.3
|
||||||
MLINKS+=tzset.3 tzsetwall.3
|
|
||||||
MLINKS+=unvis.3 strunvis.3 \
|
MLINKS+=unvis.3 strunvis.3 \
|
||||||
unvis.3 strunvisx.3
|
unvis.3 strunvisx.3
|
||||||
MLINKS+=vis.3 nvis.3 \
|
MLINKS+=vis.3 nvis.3 \
|
||||||
|
|
|
@ -31,12 +31,11 @@
|
||||||
.\" @(#)tzset.3 8.2 (Berkeley) 11/17/93
|
.\" @(#)tzset.3 8.2 (Berkeley) 11/17/93
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd February 8, 2023
|
.Dd March 6, 2023
|
||||||
.Dt TZSET 3
|
.Dt TZSET 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm tzset ,
|
.Nm tzset
|
||||||
.Nm tzsetwall
|
|
||||||
.Nd initialize time conversion information
|
.Nd initialize time conversion information
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
.Lb libc
|
.Lb libc
|
||||||
|
@ -44,8 +43,6 @@
|
||||||
.In time.h
|
.In time.h
|
||||||
.Ft void
|
.Ft void
|
||||||
.Fn tzset void
|
.Fn tzset void
|
||||||
.Ft void
|
|
||||||
.Fn tzsetwall void
|
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Fn tzset
|
.Fn tzset
|
||||||
|
@ -99,17 +96,6 @@ environment variable does not specify a
|
||||||
file and cannot be interpreted as a direct specification,
|
file and cannot be interpreted as a direct specification,
|
||||||
.Tn UTC
|
.Tn UTC
|
||||||
is used.
|
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
|
.Sh SPECIFICATION FORMAT
|
||||||
When
|
When
|
||||||
.Ev TZ
|
.Ev TZ
|
||||||
|
@ -336,7 +322,5 @@ leap seconds are loaded from
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Fn tzset
|
.Fn tzset
|
||||||
and
|
function first appeared in
|
||||||
.Fn tzsetwall
|
|
||||||
functions first appeared in
|
|
||||||
.Bx 4.4 .
|
.Bx 4.4 .
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
.\" From: @(#)ctime.3 8.1 (Berkeley) 6/4/93
|
.\" From: @(#)ctime.3 8.1 (Berkeley) 6/4/93
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd September 16, 2022
|
.Dd March 6, 2023
|
||||||
.Dt CTIME 3
|
.Dt CTIME 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -395,9 +395,7 @@ field of a returned
|
||||||
structure points to a static array of characters,
|
structure points to a static array of characters,
|
||||||
which will also be overwritten by any subsequent calls (as well as by
|
which will also be overwritten by any subsequent calls (as well as by
|
||||||
subsequent calls to
|
subsequent calls to
|
||||||
.Xr tzset 3
|
.Xr tzset 3 ) .
|
||||||
and
|
|
||||||
.Xr tzsetwall 3 ) .
|
|
||||||
.Pp
|
.Pp
|
||||||
Use of the external variable
|
Use of the external variable
|
||||||
.Fa tzname
|
.Fa tzname
|
||||||
|
|
Loading…
Reference in a new issue