summaryrefslogtreecommitdiff
path: root/libc/string/generic/memcmp.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-20 08:47:51 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-20 08:47:51 +0000
commit11975abb2c891e563dbed51a52c050ea0b05b8a4 (patch)
treed99ca21591a2528ac4546b64c8f703b0fc6dac34 /libc/string/generic/memcmp.c
parent6a9087f96b69f1b8cea5cee76a27784d2b131cd2 (diff)
- remove old-style definitions. No object-code changes.
Diffstat (limited to 'libc/string/generic/memcmp.c')
-rw-r--r--libc/string/generic/memcmp.c13
1 files changed, 3 insertions, 10 deletions
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;