diff mbox

manual: Fix inconsistent declaration of wcsrchr [BZ #24655]

Message ID CALkY8p9TC6itStWf+La7a3p3ZuESq64nNLyDEuax1HDxdQo8GA@mail.gmail.com
State New
Headers show

Commit Message

Girish Joshi March 6, 2020, 7:50 p.m. UTC
From b57ef57574f9253a2147d9f21ca1766246d78eaf Mon Sep 17 00:00:00 2001
From: Girish Joshi <girish946@gmail.com>
Date: Sat, 7 Mar 2020 01:17:01 +0530
Subject: [PATCH] manual: Fix inconsistent declaration of wcsrchr [BZ #24655]

---
 manual/string.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

 The function @code{wcsrchr} is like @code{wcschr}, except that it searches
diff mbox

Patch

diff --git a/manual/string.texi b/manual/string.texi
index c39c732ce4..23f516439a 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -1852,7 +1852,7 @@  strrchr ("hello, world", 'l')
 @end smallexample
 @end deftypefun

-@deftypefun {wchar_t *} wcsrchr (const wchar_t *@var{wstring}, wchar_t @var{c})
+@deftypefun {wchar_t *} wcsrchr (const wchar_t *@var{wstring},
wchar_t @var{wc})
 @standards{ISO, wchar.h}
 @safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}