summaryrefslogtreecommitdiff
path: root/lib/libc/string/memccpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/memccpy.c')
-rw-r--r--lib/libc/string/memccpy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/string/memccpy.c b/lib/libc/string/memccpy.c
index 665fdb252cbe..62c47a1d7983 100644
--- a/lib/libc/string/memccpy.c
+++ b/lib/libc/string/memccpy.c
@@ -44,13 +44,13 @@ memccpy(t, f, c, n)
void *t;
const void *f;
int c;
- register size_t n;
+ size_t n;
{
if (n) {
- register unsigned char *tp = t;
- register const unsigned char *fp = f;
- register unsigned char uc = c;
+ unsigned char *tp = t;
+ const unsigned char *fp = f;
+ unsigned char uc = c;
do {
if ((*tp++ = *fp++) == uc)
return (tp);