about summary refs log tree commit diff
path: root/string/memrchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/memrchr.c')
-rw-r--r--string/memrchr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/string/memrchr.c b/string/memrchr.c
index 5a83a4a9c9..2826f13056 100644
--- a/string/memrchr.c
+++ b/string/memrchr.c
@@ -33,8 +33,6 @@
 #if defined _LIBC
 # include <string.h>
 # include <memcopy.h>
-#else
-# define reg_char char
 #endif
 
 #if defined HAVE_LIMITS_H || defined _LIBC
@@ -71,7 +69,7 @@ MEMRCHR
   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;