diff options
| author | 2005-03-30 20:13:52 +0000 | |
|---|---|---|
| committer | 2005-03-30 20:13:52 +0000 | |
| commit | a66ee1d5f2f446e8bcc27e705781cfe47cfcfe8b (patch) | |
| tree | 46498c6c87fbff4ce10ffcfa34199c65ceae8b49 /lib/libc/string/swab.c | |
| parent | sync (diff) | |
| download | wireguard-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.c | 8 |
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; |
