aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/string/memchr.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-03 20:53:22 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 11:47:16 -0600
commite6321aa6a668376c40bc2792a3bd392e94c29ad6 (patch)
treefe4028a6278a7d3f49ff79f0e5150b49f225685f /newlib/libc/string/memchr.c
parent0403b9c8c40a351ba72f587add10669df225680b (diff)
downloadnewlib-e6321aa6a668376c40bc2792a3bd392e94c29ad6.zip
newlib-e6321aa6a668376c40bc2792a3bd392e94c29ad6.tar.gz
newlib-e6321aa6a668376c40bc2792a3bd392e94c29ad6.tar.bz2
ansification: remove _PTR
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/string/memchr.c')
-rw-r--r--newlib/libc/string/memchr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/string/memchr.c b/newlib/libc/string/memchr.c
index 9660ed3..91f0b37 100644
--- a/newlib/libc/string/memchr.c
+++ b/newlib/libc/string/memchr.c
@@ -61,9 +61,9 @@ QUICKREF
to fill (long)MASK. */
#define DETECTCHAR(X,MASK) (DETECTNULL(X ^ MASK))
-_PTR
+void *
_DEFUN (memchr, (src_void, c, length),
- const _PTR src_void,
+ const void *src_void,
int c,
size_t length)
{