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. --- debug/strcat_chk.c | 2 +- debug/strcpy_chk.c | 2 +- debug/strncat_chk.c | 2 +- debug/strncpy_chk.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'debug') diff --git a/debug/strcat_chk.c b/debug/strcat_chk.c index c930caaf0f..8f842ee855 100644 --- a/debug/strcat_chk.c +++ b/debug/strcat_chk.c @@ -28,7 +28,7 @@ __strcat_chk (dest, src, destlen) { char *s1 = dest; const char *s2 = src; - reg_char c; + char c; /* Find the end of the string. */ do diff --git a/debug/strcpy_chk.c b/debug/strcpy_chk.c index e867754d4a..ee22b11cd3 100644 --- a/debug/strcpy_chk.c +++ b/debug/strcpy_chk.c @@ -28,7 +28,7 @@ __strcpy_chk (dest, src, destlen) const char *src; size_t destlen; { - reg_char c; + char c; char *s = (char *) src; const ptrdiff_t off = dest - s; diff --git a/debug/strncat_chk.c b/debug/strncat_chk.c index c88034dc4b..c269331543 100644 --- a/debug/strncat_chk.c +++ b/debug/strncat_chk.c @@ -27,7 +27,7 @@ __strncat_chk (s1, s2, n, s1len) size_t n; size_t s1len; { - reg_char c; + char c; char *s = s1; /* Find the end of S1. */ diff --git a/debug/strncpy_chk.c b/debug/strncpy_chk.c index 674d16033b..e34c1e5d67 100644 --- a/debug/strncpy_chk.c +++ b/debug/strncpy_chk.c @@ -26,7 +26,7 @@ __strncpy_chk (s1, s2, n, s1len) size_t n; size_t s1len; { - reg_char c; + char c; char *s = s1; if (__builtin_expect (s1len < n, 0)) -- cgit 1.4.1