summaryrefslogtreecommitdiff
path: root/lib/memcmp.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-01-05 23:53:49 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-01-05 23:55:42 -0800
commit51e801f2f297e45a24004ee6256dd1a6c7389074 (patch)
tree441ce192f710ff16aac06764e93800934a11ca6d /lib/memcmp.c
parent04c1ac696211fdbc9b2dcd0790c352ddb0e9402c (diff)
downloadgnulib-51e801f2f297e45a24004ee6256dd1a6c7389074.tar.gz
In commentary, do not use ` to quote.
Diffstat (limited to 'lib/memcmp.c')
-rw-r--r--lib/memcmp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/memcmp.c b/lib/memcmp.c
index 3a72f9f0c8..8ba4f90d92 100644
--- a/lib/memcmp.c
+++ b/lib/memcmp.c
@@ -108,9 +108,9 @@ memcmp_bytes (op_t a, op_t b)
}
#endif
-/* memcmp_common_alignment -- Compare blocks at SRCP1 and SRCP2 with LEN `op_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. */
+ memory operations on 'op_t's. */
#ifdef __GNUC__
__inline
#endif
@@ -194,8 +194,8 @@ memcmp_common_alignment (uintptr_t srcp1, uintptr_t srcp2, size_t len)
}
/* 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*. */
+ 'op_t' objects (not LEN bytes!). SRCP2 should be aligned for memory
+ operations on 'op_t', but SRCP1 *should be unaligned*. */
#ifdef __GNUC__
__inline
#endif
@@ -213,7 +213,7 @@ memcmp_not_common_alignment (uintptr_t srcp1, uintptr_t srcp2, size_t len)
shl = 8 * (srcp1 % OPSIZ);
shr = 8 * OPSIZ - shl;
- /* Make SRCP1 aligned by rounding it down to the beginning of the `op_t'
+ /* Make SRCP1 aligned by rounding it down to the beginning of the 'op_t'
it points in the middle of. */
srcp1 &= -OPSIZ;
@@ -324,7 +324,7 @@ rpl_memcmp (const void *s1, const void *s2, size_t len)
len -= 1;
}
- /* SRCP2 is now aligned for memory operations on `op_t'.
+ /* SRCP2 is now aligned for memory operations on 'op_t'.
SRCP1 alignment determines if we can do a simple,
aligned compare or need to shuffle bits. */