summaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2001-01-03 14:33:02 +0000
committerlukem <lukem@NetBSD.org>2001-01-03 14:33:02 +0000
commit61017941aba5bbee5ef7ecdafde485ed733d8e8e (patch)
tree1e84eab04a7dc2dc1ec11e3bc7aae12d80f70126 /lib/libc/string
parent73ef471d4ff0d42933dd2138fb423736f8328ac3 (diff)
remove register
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/strlcat.c10
-rw-r--r--lib/libc/string/strlcpy.c10
-rw-r--r--lib/libc/string/wcslcat.c10
-rw-r--r--lib/libc/string/wcslcpy.c10
4 files changed, 20 insertions, 20 deletions
diff --git a/lib/libc/string/strlcat.c b/lib/libc/string/strlcat.c
index d14a70c46bf..a6afd7dd75d 100644
--- a/lib/libc/string/strlcat.c
+++ b/lib/libc/string/strlcat.c
@@ -1,4 +1,4 @@
-/* $NetBSD: strlcat.c,v 1.6 2000/11/24 16:19:05 itojun Exp $ */
+/* $NetBSD: strlcat.c,v 1.7 2001/01/03 14:33:02 lukem Exp $ */
/* from OpenBSD: strlcat.c,v 1.3 2000/11/24 11:10:02 itojun Exp */
/*
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: strlcat.c,v 1.6 2000/11/24 16:19:05 itojun Exp $");
+__RCSID("$NetBSD: strlcat.c,v 1.7 2001/01/03 14:33:02 lukem Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -50,9 +50,9 @@ strlcat(dst, src, siz)
const char *src;
size_t siz;
{
- register char *d = dst;
- register const char *s = src;
- register size_t n = siz;
+ char *d = dst;
+ const char *s = src;
+ size_t n = siz;
size_t dlen;
_DIAGASSERT(dst != NULL);
diff --git a/lib/libc/string/strlcpy.c b/lib/libc/string/strlcpy.c
index 6d19a732439..e7b9d880b7f 100644
--- a/lib/libc/string/strlcpy.c
+++ b/lib/libc/string/strlcpy.c
@@ -1,4 +1,4 @@
-/* $NetBSD: strlcpy.c,v 1.5 1999/09/20 04:39:47 lukem Exp $ */
+/* $NetBSD: strlcpy.c,v 1.6 2001/01/03 14:33:02 lukem Exp $ */
/* from OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert Exp */
/*
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: strlcpy.c,v 1.5 1999/09/20 04:39:47 lukem Exp $");
+__RCSID("$NetBSD: strlcpy.c,v 1.6 2001/01/03 14:33:02 lukem Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -48,9 +48,9 @@ strlcpy(dst, src, siz)
const char *src;
size_t siz;
{
- register char *d = dst;
- register const char *s = src;
- register size_t n = siz;
+ char *d = dst;
+ const char *s = src;
+ size_t n = siz;
_DIAGASSERT(dst != NULL);
_DIAGASSERT(src != NULL);
diff --git a/lib/libc/string/wcslcat.c b/lib/libc/string/wcslcat.c
index f8167192dc0..a6d05e747b2 100644
--- a/lib/libc/string/wcslcat.c
+++ b/lib/libc/string/wcslcat.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wcslcat.c,v 1.1 2000/12/23 23:14:36 itojun Exp $ */
+/* $NetBSD: wcslcat.c,v 1.2 2001/01/03 14:33:02 lukem Exp $ */
/* from OpenBSD: strlcat.c,v 1.3 2000/11/24 11:10:02 itojun Exp */
/*
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: wcslcat.c,v 1.1 2000/12/23 23:14:36 itojun Exp $");
+__RCSID("$NetBSD: wcslcat.c,v 1.2 2001/01/03 14:33:02 lukem Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -50,9 +50,9 @@ wcslcat(dst, src, siz)
const wchar_t *src;
size_t siz;
{
- register wchar_t *d = dst;
- register const wchar_t *s = src;
- register size_t n = siz;
+ wchar_t *d = dst;
+ const wchar_t *s = src;
+ size_t n = siz;
size_t dlen;
_DIAGASSERT(dst != NULL);
diff --git a/lib/libc/string/wcslcpy.c b/lib/libc/string/wcslcpy.c
index 88e085157a5..92c857d056b 100644
--- a/lib/libc/string/wcslcpy.c
+++ b/lib/libc/string/wcslcpy.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wcslcpy.c,v 1.1 2000/12/23 23:14:36 itojun Exp $ */
+/* $NetBSD: wcslcpy.c,v 1.2 2001/01/03 14:33:02 lukem Exp $ */
/* from OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert Exp */
/*
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: wcslcpy.c,v 1.1 2000/12/23 23:14:36 itojun Exp $");
+__RCSID("$NetBSD: wcslcpy.c,v 1.2 2001/01/03 14:33:02 lukem Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -48,9 +48,9 @@ wcslcpy(dst, src, siz)
const wchar_t *src;
size_t siz;
{
- register wchar_t *d = dst;
- register const wchar_t *s = src;
- register size_t n = siz;
+ wchar_t *d = dst;
+ const wchar_t *s = src;
+ size_t n = siz;
_DIAGASSERT(dst != NULL);
_DIAGASSERT(src != NULL);