From 49b1fae4309ab5b9833f0af388483c2b6b4b3d50 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Mon, 28 Mar 2005 02:09:01 +0000 Subject: merge from gcc --- libiberty/strncmp.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'libiberty/strncmp.c') diff --git a/libiberty/strncmp.c b/libiberty/strncmp.c index ad87e1f..916c2f0 100644 --- a/libiberty/strncmp.c +++ b/libiberty/strncmp.c @@ -13,16 +13,10 @@ Compares the first @var{n} bytes of two strings, returning a value as */ #include -#ifdef ANSI_PROTOTYPES #include -#else -#define size_t unsigned long -#endif int -strncmp(s1, s2, n) - const char *s1, *s2; - register size_t n; +strncmp(const char *s1, const char *s2, register size_t n) { register unsigned char u1, u2; -- cgit v1.1