aboutsummaryrefslogtreecommitdiffstats
path: root/src/wchar/wcschr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wchar/wcschr.c')
-rw-r--r--src/wchar/wcschr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/wchar/wcschr.c b/src/wchar/wcschr.c
index 9b87167..7acc032 100644
--- a/src/wchar/wcschr.c
+++ b/src/wchar/wcschr.c
@@ -32,7 +32,7 @@
* @return Pointer to the first occurrence of `c`,
* `NULL` if none were found.
*/
-wchar_t* wmemchr(const wchar_t* segment, wchar_t c, size_t size)
+wchar_t* (wmemchr)(const wchar_t* segment, wchar_t c, size_t size)
{
while (size--)
if (*segment++ == c)
@@ -52,7 +52,7 @@ wchar_t* wmemchr(const wchar_t* segment, wchar_t c, size_t size)
* @param c The sought after character.
* @return Pointer to the first occurrence of `c`.
*/
-wchar_t* rawwmemchr(const wchar_t* segment, wchar_t c)
+wchar_t* (rawwmemchr)(const wchar_t* segment, wchar_t c)
{
for (;;)
if (*segment++ == c)
@@ -76,7 +76,7 @@ wchar_t* rawwmemchr(const wchar_t* segment, wchar_t c)
* @return Pointer to the last occurrence of `c`,
* `NULL` if none were found.
*/
-wchar_t* wmemrchr(const wchar_t* segment, wchar_t c, size_t size)
+wchar_t* (wmemrchr)(const wchar_t* segment, wchar_t c, size_t size)
{
while (size--)
if (segment[size] == c)
@@ -95,7 +95,7 @@ wchar_t* wmemrchr(const wchar_t* segment, wchar_t c, size_t size)
* @return Pointer to the first occurrence of `c`,
* `NULL` if none were found.
*/
-wchar_t* wcschr(const wchar_t* string, wchar_t c)
+wchar_t* (wcschr)(const wchar_t* string, wchar_t c)
{
for (;;)
if (*string == c)
@@ -120,7 +120,7 @@ wchar_t* wcschr(const wchar_t* string, wchar_t c)
* Pointer to the terminating NUL character
* if none were found.
*/
-wchar_t* wcschrnul(const wchar_t* string, wchar_t c)
+wchar_t* (wcschrnul)(const wchar_t* string, wchar_t c)
{
for (;; string++)
if (*string == c)
@@ -144,7 +144,7 @@ wchar_t* wcschrnul(const wchar_t* string, wchar_t c)
* @return Pointer to the last occurrence of `c`,
* `NULL` if none were found.
*/
-wchar_t* wcsrchr(const wchar_t* string, wchar_t c)
+wchar_t* (wcsrchr)(const wchar_t* string, wchar_t c)
{
wchar_t* r = NULL;
for (;;)