diff options
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/memcmp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/generic/memcmp.c b/sysdeps/generic/memcmp.c index 8f5eca0b6b..d9f93bab61 100644 --- a/sysdeps/generic/memcmp.c +++ b/sysdeps/generic/memcmp.c @@ -84,6 +84,9 @@ typedef unsigned char byte; /* memcmp_bytes -- Compare A and B bytewise in the byte order of the machine. A and B are known to be different. This is needed only on little-endian machines. */ + +static int memcmp_bytes __P((op_t, op_t)); + #ifdef __GNUC__ __inline #endif @@ -107,6 +110,8 @@ memcmp_bytes (a, b) } #endif +static int memcmp_common_alignment __P((long, long, size_t)); + /* memcmp_common_alignment -- Compare blocks at SRCP1 and SRCP2 with LEN `op_t' objects (not LEN bytes!). Both SRCP1 and SRCP2 should be aligned for memory operations on `op_t's. */ @@ -194,6 +199,8 @@ memcmp_common_alignment (srcp1, srcp2, len) return 0; } +static int memcmp_not_common_alignment __P((long, long, size_t)); + /* memcmp_not_common_alignment -- Compare blocks at SRCP1 and SRCP2 with LEN `op_t' objects (not LEN bytes!). SRCP2 should be aligned for memory operations on `op_t', but SRCP1 *should be unaligned*. */ |