From nobody Sat May 4 13:05:34 2024 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 4VWnwG4B53z5KXKQ; Sat, 4 May 2024 13:05:34 +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 4VWnwG30GPz4Cdl; Sat, 4 May 2024 13:05:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714827934; 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=3N6sYRBMa8RFfOzdZUex0s/ABUAgRALf4W3o1XV0DDw=; b=bHdAsTVW35CcmdEHMPUX27zrC5k7M86Fx4WL1+s495qknTBTMDte8ahTePg5Btitk1kDU1 Oe82LQdmoYkeoK3lvQQ7w1u11W7cOzev6mN+7C4jqu+Hhgi4ah8e5KMxGvtU5BgQja3pnu Me9eROAdxYJp6FlPWId1u9b5yd6aBWSewTTn7b/KhT9LsEgRJCT+muxBWJWWQOk9e0Df1P fHcVVoFVS0b3Jb+cHbv9AD1GwuBhk8N7C6/ks5kOhlPyn5vLYHs61VjXO44hoI6H6DD7oQ LLqbx740ZGPSezhVeXdqHRfpmf53i7Cs2ajtv3FY3UQcgVb6pfcFhh5cJJfoLw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714827934; a=rsa-sha256; cv=none; b=bYtQKmk8ajjtMezwDVls+jlZyvYi6OC3wPw64cPcGNLX0ary+/5zD+GuPoZCJ/UJrNDJqj YAlOUJvqu30VxIW0+na8ITdght3u7CL6O5t9EhQAfZ+QSO74OkcCp3nKSsXFWrSqoME98F CLk1vgTH2miYT4e3du8ubPIS7CTRRINoTRRinUJOlccKRSkOjZ10WleQ+B21mioGX+OnBh MgWILOuUmVtTXBg9uxhzRrZ3QddvWXnItf7V2n0QudK02Npp2ygBg4wx+7ogYhyAUbdROj nBlc3Q5zv0PpIMt2cqOKvm6070X2ikZfiYNiPU2l03bWHyY4KfPcX52Nniko4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714827934; 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=3N6sYRBMa8RFfOzdZUex0s/ABUAgRALf4W3o1XV0DDw=; b=ag50zVgct9+SU93le25n1lLvCMsLac5/9ptg3Lhq1323WVJKVBOkKskTCIQ3Hp0kMmIN8/ ZwV7xWzfetK9+sDLhbwx0EiUJe+IXyd7e8uq6qnTwLxyLhZpAcDkga/XRN3weKd3J5/kP2 iSyaqFMR4VtlBNSN0D7ZO5pp69Iun0e2ukAUtlF+THC9tLp5Zg0GPsBgIJDpr89bOCWC3Q nmPBJcxr01wa6Wt1JvOuxPj6F51ttja+3of/YXFGx6TZKVRoJ7nIpU6Wdd+Io7/XfeaJ4J vk83SoSMJ5LF+mh/GIEnMTe4TmtxcM0TXH3qELv0Ag8XkObUpGBdK1wZSKZ0bA== 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 4VWnwG2c5rzW2D; Sat, 4 May 2024 13:05:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 444D5YKN024331; Sat, 4 May 2024 13:05:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 444D5YXN024328; Sat, 4 May 2024 13:05:34 GMT (envelope-from git) Date: Sat, 4 May 2024 13:05:34 GMT Message-Id: <202405041305.444D5YXN024328@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: ba13e6546d8b - stable/14 - gettimeofday.2: Do mention improbable future removal 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: ba13e6546d8b95b76966cb4640bed64745a4d566 Auto-Submitted: auto-generated The branch stable/14 has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=ba13e6546d8b95b76966cb4640bed64745a4d566 commit ba13e6546d8b95b76966cb4640bed64745a4d566 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2024-04-28 18:06:05 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2024-05-04 13:05:09 +0000 gettimeofday.2: Do mention improbable future removal As kib@ noted: > Obviously gettimeofday(2) is not going to be removed > even in the far future. Reported by: kib Fixes: 4395d3ced5cf Document that gettimeofday() is obsolescent MFC after: 3 days (cherry picked from commit 6662c2312e956439652ce2d06b42753b6a78fc61) --- lib/libc/sys/gettimeofday.2 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2 index 27149dcbeb1d..8412af6da5cf 100644 --- a/lib/libc/sys/gettimeofday.2 +++ b/lib/libc/sys/gettimeofday.2 @@ -27,7 +27,7 @@ .\" .\" @(#)gettimeofday.2 8.2 (Berkeley) 5/26/95 .\" -.Dd April 24, 2024 +.Dd April 28, 2024 .Dt GETTIMEOFDAY 2 .Os .Sh NAME @@ -141,11 +141,9 @@ function is considered obsolescent and its usage discouraged by .\" XXX: This should be replaced in the future when an appropriate argument to .\" the St macro is available: -p1003.1-2017 .No IEEE Std 1003.1-2008, 2017 Edition (\\(LqPOSIX.1\\(Rq) . -Application should use the +Applications should use the .Xr clock_gettime 2 -function instead as -.Nm gettimeofday -might be removed in the future. +function instead. .Sh HISTORY The .Fn gettimeofday