aboutsummaryrefslogtreecommitdiff
path: root/string/memcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/memcmp.c')
-rw-r--r--string/memcmp.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/string/memcmp.c b/string/memcmp.c
index 41e058629d..429c9c838d 100644
--- a/string/memcmp.c
+++ b/string/memcmp.c
@@ -118,10 +118,7 @@ static int memcmp_common_alignment (long, long, size_t) __THROW;
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;
@@ -205,10 +202,7 @@ static int memcmp_not_common_alignment (long, long, size_t) __THROW;
`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;
@@ -308,10 +302,7 @@ memcmp_not_common_alignment (srcp1, srcp2, len)
}
int
-MEMCMP (s1, s2, len)
- const __ptr_t s1;
- const __ptr_t s2;
- size_t len;
+MEMCMP (const __ptr_t s1, const __ptr_t s2, size_t len)
{
op_t a0;
op_t b0;