about summary refs log tree commit diff
path: root/string/rawmemchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/rawmemchr.c')
-rw-r--r--string/rawmemchr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/string/rawmemchr.c b/string/rawmemchr.c
index e92e1b491c..90e8c7cb0b 100644
--- a/string/rawmemchr.c
+++ b/string/rawmemchr.c
@@ -31,8 +31,6 @@
 # include <string.h>
 # include <memcopy.h>
 # include <stdlib.h>
-#else
-# define reg_char char
 #endif
 
 #if defined (HAVE_LIMITS_H) || defined (_LIBC)
@@ -59,7 +57,7 @@ __rawmemchr (s, c_in)
   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;