summaryrefslogtreecommitdiffstats
path: root/libiberty/memchr.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-03-28 02:09:01 +0000
committerDJ Delorie <dj@redhat.com>2005-03-28 02:09:01 +0000
commit49b1fae4309ab5b9833f0af388483c2b6b4b3d50 (patch)
tree4d135fc6ff13dd077dc5cf1669777e75cae85305 /libiberty/memchr.c
parent67700458404b636f413570c6fab3d2cb221c63ba (diff)
downloadppe42-binutils-49b1fae4309ab5b9833f0af388483c2b6b4b3d50.tar.gz
ppe42-binutils-49b1fae4309ab5b9833f0af388483c2b6b4b3d50.zip
merge from gcc
Diffstat (limited to 'libiberty/memchr.c')
-rw-r--r--libiberty/memchr.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libiberty/memchr.c b/libiberty/memchr.c
index 3948125963..451f817d32 100644
--- a/libiberty/memchr.c
+++ b/libiberty/memchr.c
@@ -15,17 +15,10 @@ returned.
*/
#include <ansidecl.h>
-#ifdef ANSI_PROTOTYPES
#include <stddef.h>
-#else
-#define size_t unsigned long
-#endif
PTR
-memchr (src_void, c, length)
- register const PTR src_void;
- int c;
- size_t length;
+memchr (register const PTR src_void, int c, size_t length)
{
const unsigned char *src = (const unsigned char *)src_void;
OpenPOWER on IntegriCloud