From 11975abb2c891e563dbed51a52c050ea0b05b8a4 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 20 May 2008 08:47:51 +0000 Subject: - remove old-style definitions. No object-code changes. --- libc/string/generic/memcmp.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'libc/string/generic') diff --git a/libc/string/generic/memcmp.c b/libc/string/generic/memcmp.c index e9767edef..fc63a2eae 100644 --- a/libc/string/generic/memcmp.c +++ b/libc/string/generic/memcmp.c @@ -59,8 +59,7 @@ static int memcmp_bytes __P((op_t, op_t)); __inline # endif static int -memcmp_bytes (a, b) - op_t a, b; +memcmp_bytes (op_t a, op_t b) { long int srcp1 = (long int) &a; long int srcp2 = (long int) &b; @@ -84,10 +83,7 @@ static int memcmp_common_alignment __P((long, long, size_t)); objects (not LEN bytes!). Both SRCP1 and SRCP2 should be aligned for memory operations on `op_t's. */ static int -memcmp_common_alignment (srcp1, srcp2, len) - long int srcp1; - long int srcp2; - size_t len; +memcmp_common_alignment (long int srcp1, long int srcp2, size_t len) { op_t a0, a1; op_t b0, b1; @@ -171,10 +167,7 @@ static int memcmp_not_common_alignment __P((long, long, size_t)); `op_t' objects (not LEN bytes!). SRCP2 should be aligned for memory operations on `op_t', but SRCP1 *should be unaligned*. */ static int -memcmp_not_common_alignment (srcp1, srcp2, len) - long int srcp1; - long int srcp2; - size_t len; +memcmp_not_common_alignment (long int srcp1, long int srcp2, size_t len) { op_t a0, a1, a2, a3; op_t b0, b1, b2, b3; -- cgit v1.2.3