From nobody Sun Mar 24 05:13:06 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 4V2PN302pkz5F1rn; Sun, 24 Mar 2024 05:13: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 4V2PN256J2z45wP; Sun, 24 Mar 2024 05:13:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711257186; 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=Ul9GZ0LXkxW3h04xJfjQSu/v1qF6vCi1Rsn/rKdROko=; b=trXhkY4E0WnpuJ7nOnIzLwT1s68wftJnDXa343NukFXaJ3AhpGgjswGNfC7lSECPofGX46 HLDnaFO5sYz6KCKXr2dtH03DgkVbOjEOpwq5DplKMLw7cuni8zMAmC1/s5gRFf+mzmDf7p SeAjBo7BeUGbeuMLh+GReYmTVR2uQ5URM3TEcNHNbwDv48DJTUrv3/KFJhH0iGFADpGyt2 0PPIdcJyuAeTNcL0yGB3/hrnKz8KzxqNjKFlTcrOgeQqsPD6DxEMq8KkV/2joQFACQ9n41 qxV0l5Q7WRXMUT6Uc+cDSS9pYTI1zsiIBqgd5RwjXiF5k+q8sFYk+HdPhMqIkg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711257186; a=rsa-sha256; cv=none; b=eBbwKvnkIfPqpkVDBvUbfrSN5guGdH2+QMy0Jma9+AGiT7z7zzq/TWyKEX5PN/nY9/YSaT 5i2ZyH4Sfv8Usjmve6Saf2zgJA1v65j8uVMmf8yt7kePxGE8k+q1TB3knDvmuw6Pr52dGv rBUmRD42rOJEfoMS3BCYNT35CYCnLtQEUJ/jQEFsPzSDxVfsitPUN23IADDmnbGclF0Mdk X3LtdxznxS5w6/c6VzsUnZ+KCZqmxLeLYCraWbd4wiinG9UFPLW2s7MCeJzFPMweMPiYQD /WsTSx3NvBoM15YcCpqwwpNdgH9VXnlKoQzhQ3TcvE6f26h/t3PWsRPkakkzFA== 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=1711257186; 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=Ul9GZ0LXkxW3h04xJfjQSu/v1qF6vCi1Rsn/rKdROko=; b=hOb9ye8zo/v/lgLocT2P1TO57gzSxdgRRD4FiRdqP6/LBFeAtrVMFjF1P7DuCwYswof+4Z xBRc8fW5NyzcTFNdTih0H3/3niiUvKer1TGFqmuUnGJkdynZghWYpYPogp7j9EaYnqPBgP DMEx1hTiRNdm078jcNZSt0eV2sYUxCrCGMImQxnSvNxuDDyCIy31hIkIH1Uv+KbTEb8chr KuUeN6jbw1Tphi8WS2e0Xw0c5TZHZzCeEqLi/YFgqMe0GXrVMMZH5mSc0QngQHUHaj/EKO 5vu+eDruYduX2hFtPWGQFdNJGGNRxfE1uTDSdupupEUHw+6bn1iim3Rkk2EFcQ== 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 4V2PN24kLfzJyf; Sun, 24 Mar 2024 05:13:06 +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 42O5D64S058095; Sun, 24 Mar 2024 05:13:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42O5D601058092; Sun, 24 Mar 2024 05:13:06 GMT (envelope-from git) Date: Sun, 24 Mar 2024 05:13:06 GMT Message-Id: <202403240513.42O5D601058092@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: e87a6f886046 - stable/14 - wmemchr(3): fix prototypes for wcpcpy() and wcpncpy() 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: e87a6f8860463c71773c5a02f9824d940a27d2d7 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=e87a6f8860463c71773c5a02f9824d940a27d2d7 commit e87a6f8860463c71773c5a02f9824d940a27d2d7 Author: Konstantin Belousov AuthorDate: 2024-03-21 08:38:05 +0000 Commit: Konstantin Belousov CommitDate: 2024-03-24 05:12:39 +0000 wmemchr(3): fix prototypes for wcpcpy() and wcpncpy() PR: 277855 (cherry picked from commit 69d5783ae81b74295118950d01b6dddb3e504a56) --- lib/libc/string/wmemchr.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/string/wmemchr.3 b/lib/libc/string/wmemchr.3 index 4466a7e9b1b4..ebb0881dac16 100644 --- a/lib/libc/string/wmemchr.3 +++ b/lib/libc/string/wmemchr.3 @@ -33,7 +33,7 @@ .\" .\" from: @(#)strcpy.3 8.1 (Berkeley) 6/4/93 .\" -.Dd July 14, 2021 +.Dd March 21, 2024 .Dt WMEMCHR 3 .Os .Sh NAME @@ -82,9 +82,9 @@ .Ft wchar_t * .Fn wmemset "wchar_t *s" "wchar_t c" "size_t n" .Ft wchar_t * -.Fn wcpcpy "wchar_t *s1" "wchar_t *s2" +.Fn wcpcpy "wchar_t * restrict s1" "const wchar_t * restrict s2" .Ft wchar_t * -.Fn wcpncpy "wchar_t *s1" "wchar_t *s2" "size_t n" +.Fn wcpncpy "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n" .Ft int .Fn wcscasecmp "const wchar_t *s1" "const wchar_t *s2" .Ft wchar_t *