From nobody Sun Apr 28 18:12:11 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 4VSF0q6RsHz5Jh5r; Sun, 28 Apr 2024 18:12:11 +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 4VSF0q5q5pz53vn; Sun, 28 Apr 2024 18:12:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714327931; 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=CKpqgLjNDnTCYugTxM6f2L91N2DdFF54djbqxPxNUuE=; b=Tlij/B2ZM3aLS39ewkq9DSzcJj1s9e0mfKfRGZiukPCVx4JO/ejOSzEktkDxI3czftLD6v KzmPQ3i+36H/JGHr8lkpZ6s74urKpYQQIGFM20Zo2ImI9HQfHcXYXDt0DYDNiPXthmy6aF ldA0tvqKXkqq0XhbU9TJ2KHXhRE5cQ9CwahWg+EKV5kC85YdYYgDGq33vIAIVQHyMOqcCS VFLRpHtMVRF6WkmY7ZiGwWFVCGLjL+Ep9qHneeTOB68IjGU2IJ2DV9e6aZoSt657A4NiHz n6xA5A28mmRIKg1xfNY1JO9rSKiB4TQaY5muOZXKPdXb1Uv0w+9WP2q4dhrlbQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714327931; a=rsa-sha256; cv=none; b=yp51+V3K5z5K2ftjLHHKdmvDt/Q282OfPfm6yW5emHa3bWpp7bW3VhyHN1vpClNBmRwoe3 1NqtNK8+3tM/aF03U/uW6gNAf8z/YIKzP7hvlM6MnFMt4N2ARcFFEH7khfftMXY5AmyRi6 5QGFfhbBloHuZUvXthdeM/lc1LbkqML8YVs3pTiPlOz+8rC6Npmy9n52YLaNFwqXAR/lyb D3mdIMod68FcK1AUYoBQ3TlGzE9VvJlt8G4wpRolvc6Fkaaow6y8KBBKPcfiqd+mxXUN6q hIKkEfelm3DxXQ537nFGFdBVLdyfr6hGLzDunpnJU9facK2UT2FrGZSoSpElww== 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=1714327931; 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=CKpqgLjNDnTCYugTxM6f2L91N2DdFF54djbqxPxNUuE=; b=hpf7PdxvDfKFOc+RpIWkyDO7MBCGAuC11y/+tihmSZR8+/aZUdm0GnQudhqOS+TM4OLbci Qq8Hx01yHTOx54Swq+zIyjC/4mWVpdQzW7rhuHiQFC0VnXdphp3adHLXIwJk+XgmFTpw4S Ea8HlXMPaldIw2LqMa8zkGB5M3XHG9wRTJYM3Tf9HOL4MF7L7QKqL7Xa1dWQSpTJqexvVZ ME4bjzsVx5qr9UfEKMRrESecmcatLyi9d9ZAVu836pxZJrh3SQH8VCqIgVAmpzPmmwBl88 k6hn3NqaNHHqbn4roCBmG68MSkJK2i3WjviucGxkxud8TMln1pKJTpfkeWk6ag== 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 4VSF0q5QCqzbnP; Sun, 28 Apr 2024 18:12:11 +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 43SICBKA008154; Sun, 28 Apr 2024 18:12:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43SICBSW008151; Sun, 28 Apr 2024 18:12:11 GMT (envelope-from git) Date: Sun, 28 Apr 2024 18:12:11 GMT Message-Id: <202404281812.43SICBSW008151@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 6662c2312e95 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 6662c2312e956439652ce2d06b42753b6a78fc61 Auto-Submitted: auto-generated The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=6662c2312e956439652ce2d06b42753b6a78fc61 commit 6662c2312e956439652ce2d06b42753b6a78fc61 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2024-04-28 18:06:05 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2024-04-28 18:11:22 +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 --- lib/libsys/gettimeofday.2 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/libsys/gettimeofday.2 b/lib/libsys/gettimeofday.2 index cfba97149199..4fcd4b52312b 100644 --- a/lib/libsys/gettimeofday.2 +++ b/lib/libsys/gettimeofday.2 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd April 24, 2024 +.Dd April 28, 2024 .Dt GETTIMEOFDAY 2 .Os .Sh NAME @@ -139,11 +139,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