manual: Fix wrong declaration of wcschr [BZ #24654]
authorGirish Joshi <girish946@gmail.com>
Thu, 5 Mar 2020 08:31:43 +0000 (09:31 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 5 Mar 2020 08:31:43 +0000 (09:31 +0100)
manual/string.texi

index a1c58e5..c39c732 100644 (file)
@@ -1778,7 +1778,7 @@ need that information, it is better (but less portable) to use
 @code{strchrnul} than to search for it a second time.
 @end deftypefun
 
-@deftypefun {wchar_t *} wcschr (const wchar_t *@var{wstring}, int @var{wc})
+@deftypefun {wchar_t *} wcschr (const wchar_t *@var{wstring}, wchar_t @var{wc})
 @standards{ISO, wchar.h}
 @safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
 The @code{wcschr} function finds the first occurrence of the wide