aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-04-18 16:19:10 -0700
committerDavid S. Miller <davem@davemloft.net>2012-04-18 16:19:10 -0700
commit50f81fd74b78d407477b9b39c2034c87471b6cef (patch)
tree9c55958e4b975f413cc8a00c09595fdd91101b04 /sysdeps/generic/memcopy.h
parentHave memmove call __builtin_memcopy on PowerPC if src and dest don't overlap. (diff)
downloadglibc-50f81fd74b78d407477b9b39c2034c87471b6cef.tar.gz
glibc-50f81fd74b78d407477b9b39c2034c87471b6cef.tar.bz2
glibc-50f81fd74b78d407477b9b39c2034c87471b6cef.zip
Remove all traces of reg_char.
* sysdeps/generic/memcopy.h (reg_char): Delete. * debug/strcat_chk.c: Use char, not reg_char. * debug/strcpy_chk.c: Likewise. * debug/strncat_chk.c: Likewise. * debug/strncpy_chk.c: Likewise. * string/memchr.c: Likewise. * string/memrchr.c: Likewise. * string/rawmemchr.c: Likewise. * string/strcat.c: Likewise. * string/strchr.c: Likewise. * string/strchrnul.c: Likewise. * string/strcmp.c: Likewise. * string/strcpy.c: Likewise. * string/strncat.c: Likewise. * string/strncmp.c: Likewise. * string/strncpy.c: Likewise.
Diffstat (limited to 'sysdeps/generic/memcopy.h')
-rw-r--r--sysdeps/generic/memcopy.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sysdeps/generic/memcopy.h b/sysdeps/generic/memcopy.h
index ad28466821..a8e5a44fe5 100644
--- a/sysdeps/generic/memcopy.h
+++ b/sysdeps/generic/memcopy.h
@@ -61,9 +61,6 @@
/* Type to use for unaligned operations. */
typedef unsigned char byte;
-/* Optimal type for storing bytes in registers. */
-#define reg_char char
-
#if __BYTE_ORDER == __LITTLE_ENDIAN
#define MERGE(w0, sh_1, w1, sh_2) (((w0) >> (sh_1)) | ((w1) << (sh_2)))
#endif