From nobody Sat May 4 13:07:07 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 4VWny34fdgz5KXSR; Sat, 4 May 2024 13:07:07 +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 4VWny331MYz4D84; Sat, 4 May 2024 13:07:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714828027; 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=zsxJbd9QmEj2TS0PA7kCcE4fUqwswRGMl4xu456uV88=; b=Iw8Xyg8nfkJUrWbvLAvk8A5prqhZX8bjZsHqGhaKiyAuBfp4jShftC5T77IlaKZxvcHx33 P2vOc7+LZ7aGdZlfrCyZJhNPsEoCUp56OlMw4CUMoXYEB17JOgebfDAGs4z7poAROzq1Do gTMbbjQ0TwxnS2Wyfp+IYjM4pHmdmovaVGS8BP0YcDhAV2mwU0hf/bz/djd6Jr2BZpNo+7 nrPXzYhmEN8PBZhJBzDH5fA5efS/c0g38XcKLNWT/AC6PbOo/tX0iOPp2PmTfL7XOwkhqm 84QDrzu0DnT1xiOiHWyEtJNRiTN/v9tjqWEPvQRNoSaQ7CaLxGG3tFtyfdXKNA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714828027; a=rsa-sha256; cv=none; b=rAOqkYLgcn0pky9NCM657wVXQ+v2etoP6LMajo8BxpR4uWdYLQruZVkQzUqfiCF3rQveDL /9APlQWOh1IQI5beDuuwpZSb2Aj7MfSuSxWCdrEWGRgEJoF7MhtcK7LwLl4tO7IPtgsscH ZCDJ+YUzoFo9QJ1X8for1Ou18cZzYh62zcZtlur+/WKPGqGW/3254+e4LEYmRROyQd6ThX QZ0EQZAXogCLS7kGVx18uFwcGvpKSMBMNN55i2JYvUdlVeCYMYdD6pnY3R/1wHazG30ZSC SH6rjZaeARGtY4LxuOm9raYpanP3cO8tH9g1R2XMgE6G4mpmDMuWMRjucZzVdA== 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=1714828027; 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=zsxJbd9QmEj2TS0PA7kCcE4fUqwswRGMl4xu456uV88=; b=BddnnSnMvEtKyx+6gHEiYfQeeOqvFK8dKt4QqU3nL/I6U/r+pWyBjegyR/ONOzSZ1Z1eP7 8pROixjTpC5xD3tlMqw9oHQ9wrQO3xhZxor90+FurzKWacON8pvUCOk8PTE13eFwd7MVrv CMKy9uqv3597qptGqVnGoFTv/QYhUcOIZazPcpUvxsk2oeE+7bfYtg20MkomNuhAmZ/RJF bXL8eL02EVQfbyTOC6X19A3tWbu2MAF/rt4m7/KbjHWkZni/v6hEdtfLE2a1a2d3fM6rnX yYF5fpI0Na3XPqdeYMBU2boVL7TEBdA1L4m31btFw5R1LG45SklML+/1RQZ2oA== 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 4VWny31gsbzX5x; Sat, 4 May 2024 13:07:07 +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 444D77SU024718; Sat, 4 May 2024 13:07:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 444D77BA024715; Sat, 4 May 2024 13:07:07 GMT (envelope-from git) Date: Sat, 4 May 2024 13:07:07 GMT Message-Id: <202405041307.444D77BA024715@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: 64f6c5fd9bea - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 64f6c5fd9bea2f25d0459347c6626f5b51989e73 Auto-Submitted: auto-generated The branch stable/13 has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=64f6c5fd9bea2f25d0459347c6626f5b51989e73 commit 64f6c5fd9bea2f25d0459347c6626f5b51989e73 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:06:55 +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