From 50f81fd74b78d407477b9b39c2034c87471b6cef Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Wed, 18 Apr 2012 16:19:10 -0700 Subject: 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. --- string/memchr.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'string/memchr.c') diff --git a/string/memchr.c b/string/memchr.c index 7de21a6acc..22637cf3a5 100644 --- a/string/memchr.c +++ b/string/memchr.c @@ -30,8 +30,6 @@ #if defined _LIBC # include # include -#else -# define reg_char char #endif #if HAVE_STDLIB_H || defined _LIBC @@ -68,7 +66,7 @@ __memchr (s, c_in, n) const unsigned char *char_ptr; const unsigned long int *longword_ptr; unsigned long int longword, magic_bits, charmask; - unsigned reg_char c; + unsigned char c; c = (unsigned char) c_in; -- cgit v1.2.1