From nobody Tue Mar 7 17:21:43 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PWMgW3NWRz3wPWk; Tue, 7 Mar 2023 17:21:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PWMgW2ttGz4Q6p; Tue, 7 Mar 2023 17:21:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678209703; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yd/GtvKLWzpoLRgdKbjC6ZsUlXmX9hm7bT0vLErtFlo=; b=OaFXex8VucEsK8uqbmgws3tyh58/nrkIjvKhqRHxAv2AjQTFZrMPFOnJDI4VKraLByzbml s+aAmoA7RNSURUCngaor8Q9cORBXWxXqU1X9A/VzPtBf6Df73Dcfmk8JxnDsFMVIncOsXs p3u1EyJZObTY/e38O+0X20FmSkcEAcn9psmDF6PgvGgD7rbHUrY++rKWL65IsoC//rVUnU RJgO2/v00zZdy7tC0wShWkRakDmsUxzeHIhdLfGhaqCxsVNC+tob/kcInqIyhlxFfyfSS+ 76pe6+tiRtSHUlk7EqKByzpsUv5m1Poxm4tjX4+yph50TzdD970DCbT5IQQSwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678209703; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yd/GtvKLWzpoLRgdKbjC6ZsUlXmX9hm7bT0vLErtFlo=; b=c+h3D4mgbrtJxn4hNV8muWXY6AV49Ye9tjUdvl7rOc40oY/GrzSZDKWt33eK/5CntGI0EQ 1BJ4onMxGa2exO/gRZoLwUg1QMONY1BizpfsI2k+158gIIf4o41NXfhrN9fq/27O+M85ST cHR070plNC1xCX5Vu1DzEYEnvexna1uKfasPNkRtxddIbyw8WkAEKt3SF49wlVM3Mf1ptM o5VJByCwxSon2k1ks0bk/t/RST5Fqvpi2fAj9yKCvtvS4fUwqgrHsJwks/h+WWa8xz7Qbb 93KJ8XRGEPSVRtIlrbWWo93Hft8xKDe/t0d7TqmHUsBligQhUYzvvVBXbJeSnw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678209703; a=rsa-sha256; cv=none; b=a7gryl6ZVAtoP/S0riGHabyq7ajLF2kL9KnhjwY9t8AF3IYW++lN37MuTvJuZ/3Fd7M8/S bxPmk348/abyhJttT6tdKOHkOhd8Uq/zZZ8pqy2vCXOaPkAMZGQY92uRQihDVGVRgTZKxs 7EDwuw9nzZmprCYFrnp+w+ddbZ4E2KcfV5LBIiipglwo1+o6WA9gz5E9XJ5c57mT1iPVbG z40zy3DcHvE4SuacEaXAxyySFD9EaQxH8O78wmrRvcQrCym+KGLbGXH4cJol7+T6umlna1 pXYN7mb21SG0xd1V5HBzKSBozr0stIuGUm1kc8QtMtWAg/+QXnrgYd5ghUy5AQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PWMgW1qqhzsbc; Tue, 7 Mar 2023 17:21:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 327HLhOm068581; Tue, 7 Mar 2023 17:21:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 327HLher068580; Tue, 7 Mar 2023 17:21:43 GMT (envelope-from git) Date: Tue, 7 Mar 2023 17:21:43 GMT Message-Id: <202303071721.327HLher068580@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Dag-Erling=20Sm=C3=B8rgrav?= Subject: git: a9a38dea37ef - main - libc: Remove prototype and documentation for tzsetwall(). List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: des X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a9a38dea37ef4b8a404978de9c5db0ab9f0ba07b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=a9a38dea37ef4b8a404978de9c5db0ab9f0ba07b commit a9a38dea37ef4b8a404978de9c5db0ab9f0ba07b Author: Dag-Erling Smørgrav AuthorDate: 2023-03-07 16:04:29 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2023-03-07 17:20:49 +0000 libc: Remove prototype and documentation for tzsetwall(). PR: 269445 Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D38481 --- ObsoleteFiles.inc | 3 +++ include/time.h | 1 - lib/libc/gen/Makefile.inc | 1 - lib/libc/gen/tzset.3 | 22 +++------------------- lib/libc/stdtime/ctime.3 | 6 ++---- 5 files changed, 8 insertions(+), 25 deletions(-) diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc index 74f0c70c25f1..23bdd366f40b 100644 --- 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 index a64a331ee52e..f8560a285bb0 100644 --- a/include/time.h +++ b/include/time.h @@ -169,7 +169,6 @@ char *strptime(const char * __restrict, const char * __restrict, #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 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 . diff --git a/lib/libc/stdtime/ctime.3 b/lib/libc/stdtime/ctime.3 index de3a57bab59e..b347e5362948 100644 --- 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 @@ field of a returned 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