summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/swab.c
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2005-03-30 20:13:52 +0000
committerotto <otto@openbsd.org>2005-03-30 20:13:52 +0000
commita66ee1d5f2f446e8bcc27e705781cfe47cfcfe8b (patch)
tree46498c6c87fbff4ce10ffcfa34199c65ceae8b49 /lib/libc/string/swab.c
parentsync (diff)
downloadwireguard-openbsd-a66ee1d5f2f446e8bcc27e705781cfe47cfcfe8b.tar.xz
wireguard-openbsd-a66ee1d5f2f446e8bcc27e705781cfe47cfcfe8b.zip
ansify + deregister. no binary change on i386. ok deraadt@ pat@ moritz@
Diffstat (limited to 'lib/libc/string/swab.c')
-rw-r--r--lib/libc/string/swab.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/string/swab.c b/lib/libc/string/swab.c
index b928f21aa7c..0129561aa33 100644
--- a/lib/libc/string/swab.c
+++ b/lib/libc/string/swab.c
@@ -31,7 +31,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: swab.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $";
+static char *rcsid = "$OpenBSD: swab.c,v 1.6 2005/03/30 20:13:52 otto Exp $";
#endif /* LIBC_SCCS and not lint */
#include <unistd.h>
@@ -39,9 +39,9 @@ static char *rcsid = "$OpenBSD: swab.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $";
void
swab(const void *from, void *to, size_t len)
{
- register unsigned long temp;
- register int n;
- register char *fp, *tp;
+ unsigned long temp;
+ int n;
+ char *fp, *tp;
n = (len >> 1) + 1;
fp = (char *)from;