summaryrefslogtreecommitdiff
path: root/string/strncat.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/strncat.c')
-rw-r--r--string/strncat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/string/strncat.c b/string/strncat.c
index dceadb206a..dcfb04d6c6 100644
--- a/string/strncat.c
+++ b/string/strncat.c
@@ -19,8 +19,6 @@
#ifdef _LIBC
# include <memcopy.h>
-#else
-typedef char reg_char;
#endif
#ifndef STRNCAT
@@ -31,7 +29,7 @@ typedef char reg_char;
char *
STRNCAT (char *s1, const char *s2, size_t n)
{
- reg_char c;
+ char c;
char *s = s1;
/* Find the end of S1. */