summary refs log tree commit diff
path: root/string/strncmp.c
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 /string/strncmp.c
parent8ff41c4601f8b8d7dfa6682f596dc4071823424d (diff)
downloadglibc-50f81fd74b78d407477b9b39c2034c87471b6cef.tar.gz
glibc-50f81fd74b78d407477b9b39c2034c87471b6cef.tar.xz
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 'string/strncmp.c')
-rw-r--r--string/strncmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string/strncmp.c b/string/strncmp.c
index f586d592e6..d79305a871 100644
--- a/string/strncmp.c
+++ b/string/strncmp.c
@@ -31,8 +31,8 @@
 int
 STRNCMP (const char *s1, const char *s2, size_t n)
 {
-  unsigned reg_char c1 = '\0';
-  unsigned reg_char c2 = '\0';
+  unsigned char c1 = '\0';
+  unsigned char c2 = '\0';
 
   if (n >= 4)
     {