aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/string/rawmemchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/string/rawmemchr.c')
-rw-r--r--newlib/libc/string/rawmemchr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/string/rawmemchr.c b/newlib/libc/string/rawmemchr.c
index b2078dc..881bd23 100644
--- a/newlib/libc/string/rawmemchr.c
+++ b/newlib/libc/string/rawmemchr.c
@@ -60,9 +60,9 @@ QUICKREF
to fill (long)MASK. */
#define DETECTCHAR(X,MASK) (DETECTNULL(X ^ MASK))
-_PTR
+void *
_DEFUN (rawmemchr, (src_void, c),
- const _PTR src_void,
+ const void *src_void,
int c)
{
const unsigned char *src = (const unsigned char *) src_void;