aboutsummaryrefslogtreecommitdiff
path: root/libiberty/memchr.c
diff options
context:
space:
mode:
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 3948125..451f817 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;