From nobody Thu Mar 21 08:40:18 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 4V0f6W1PKrz5FXfQ; Thu, 21 Mar 2024 08:40:19 +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 4V0f6W0YPQz4sY7; Thu, 21 Mar 2024 08:40:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711010419; 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=oZvI08M+xwQMiS+M2216PSAWULejKXiargU/bv1dRM4=; b=J04WjxDli2fU8rSlqc0vvJneI+vhqzexfDyiVgQiaqZrHNndP56vKpVGPk0HQc/xDSvtGa BMwLsxS9kE/tL926XJ6/loO30bQ+SYhQ7ePVmUAvdaAWyo7u75WWS/1ZS8IsjUmYjh9yKl oucD4d9bJFRRjQD9pnmRHx7xYAHieD/+EnKBGeTvroC4beoVyDZzldJgKgwTZ4kDIBDeT6 +hHuNI2XyXcnEYyeXTt1x975iXkKL3Ern5zk4oks4+b8Y2/wdVmWlv93ARSY5RzBMZ3o5L IdQ89wXcKkvdwnOpTpzVRvFGIVm5KFl3SH1ieHnGbgc1ztB8j9L+EwTLlEreuQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711010419; a=rsa-sha256; cv=none; b=ErNOvNWP6WZUatu5BXgdSxq2bklqy7FL0itInJPOVR2hlmENbWb/ov8t3k9byLUf0s9mYx BzTBq1GNuc92ijd2ohqEpjPCkVh7U7FKDBO4wsjT1DugPiyjCPgfi6cSwmzEN85m+I5D2j rKlYH+D1YVwib53fHeq6H6OTHBxuFYmCwCN0H84PYTYE+OpiFbebxRZdYue9JDDs00YFwu 2xW2COOZ9/XBzOXN4ApqiSw0ZRPB4sd1Nsm50PZTDH/6MJvaeVjGVtSjijYvL+RJNPKGu4 XPGvyMi+z5lA1JBtDC0zZ6vESErkt2w8z6x+N+9RVNWc8eGd56fZqY6tqJ1o7Q== 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=1711010419; 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=oZvI08M+xwQMiS+M2216PSAWULejKXiargU/bv1dRM4=; b=iPOvmxXqjB0K1S6dJSa/lQWFVZHYXMl2NjhTr8h3u/x6atDkJc6zDa6wzVOE8D5m6XgqKM GuPGMzMGJa1FSQKPANYftIFuzQyfl3oJMg26r8Ol1CQDQsO7Z+YMgdgvpGEcqkkqA/jR26 h6wnJWG7/YklcVDfnin++eUL4lp9A9Y0HeFeaecmG3LkQshhVOzuVUpJI1XR28iLCU9rQn 57IQnDsBaLG1Iuu8ysXYRcqRLsrNc/ouUjkaOQI76jJLW0Zep3mY+Nbtbrh2GB+YDTCWC1 yJFn7i4U4U/DQLp7Tp1FMl+By1tq217pkbyRQrwwglSvpUyO2xDQ+1Ic4kHQbw== 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 4V0f6W02VHzSMQ; Thu, 21 Mar 2024 08:40:19 +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 42L8eILU071368; Thu, 21 Mar 2024 08:40:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42L8eIFO071365; Thu, 21 Mar 2024 08:40:18 GMT (envelope-from git) Date: Thu, 21 Mar 2024 08:40:18 GMT Message-Id: <202403210840.42L8eIFO071365@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 69d5783ae81b - main - 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/main X-Git-Reftype: branch X-Git-Commit: 69d5783ae81b74295118950d01b6dddb3e504a56 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=69d5783ae81b74295118950d01b6dddb3e504a56 commit 69d5783ae81b74295118950d01b6dddb3e504a56 Author: Konstantin Belousov AuthorDate: 2024-03-21 08:38:05 +0000 Commit: Konstantin Belousov CommitDate: 2024-03-21 08:40:08 +0000 wmemchr(3): fix prototypes for wcpcpy() and wcpncpy() PR: 277855 Reported by: Paul Floyd Sponsored by: The FreeBSD Foundation MFC after: 3 days --- 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 f88c7d49b252..c1701facb7d5 100644 --- a/lib/libc/string/wmemchr.3 +++ b/lib/libc/string/wmemchr.3 @@ -31,7 +31,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd July 14, 2021 +.Dd March 21, 2024 .Dt WMEMCHR 3 .Os .Sh NAME @@ -80,9 +80,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 *