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/memcmp.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'libiberty/memcmp.c') diff --git a/libiberty/memcmp.c b/libiberty/memcmp.c index 92f2b6e..39edfca 100644 --- a/libiberty/memcmp.c +++ b/libiberty/memcmp.c @@ -16,17 +16,10 @@ as if comparing unsigned char arrays. */ #include -#ifdef ANSI_PROTOTYPES #include -#else -#define size_t unsigned long -#endif int -memcmp (str1, str2, count) - const PTR str1; - const PTR str2; - size_t count; +memcmp (const PTR str1, const PTR str2, size_t count) { register const unsigned char *s1 = (const unsigned char*)str1; register const unsigned char *s2 = (const unsigned char*)str2; -- cgit v1.1