about summary refs log tree commit diff
path: root/string/memchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/memchr.c')
-rw-r--r--string/memchr.c4
1 files changed, 1 insertions, 3 deletions
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 <string.h>
 # include <memcopy.h>
-#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;