about summary refs log tree commit diff
path: root/string/strncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/strncpy.c')
-rw-r--r--string/strncpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/strncpy.c b/string/strncpy.c
index f6ee27832d..19d501e06b 100644
--- a/string/strncpy.c
+++ b/string/strncpy.c
@@ -27,7 +27,7 @@
 char *
 STRNCPY (char *s1, const char *s2, size_t n)
 {
-  reg_char c;
+  char c;
   char *s = s1;
 
   --s1;