diff options
author | deraadt <> | 2003-06-11 21:08:16 +0000 |
---|---|---|
committer | deraadt <> | 2003-06-11 21:08:16 +0000 |
commit | 05ebc6b11cf74e0e9e901f2e1c26d0d682c57842 (patch) | |
tree | 0ab503c1cf313bdf01aa32f8ffd0938a3d19c2a9 /src/lib/libc/string/swab.c | |
parent | 9b3b34e9713b6e433e3bb19fc1808375d5c69917 (diff) | |
download | openbsd-05ebc6b11cf74e0e9e901f2e1c26d0d682c57842.tar.gz openbsd-05ebc6b11cf74e0e9e901f2e1c26d0d682c57842.tar.bz2 openbsd-05ebc6b11cf74e0e9e901f2e1c26d0d682c57842.zip |
ansification; pval ok
Diffstat (limited to 'src/lib/libc/string/swab.c')
-rw-r--r-- | src/lib/libc/string/swab.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/libc/string/swab.c b/src/lib/libc/string/swab.c index 0524914361..b928f21aa7 100644 --- a/src/lib/libc/string/swab.c +++ b/src/lib/libc/string/swab.c | |||
@@ -31,16 +31,13 @@ | |||
31 | */ | 31 | */ |
32 | 32 | ||
33 | #if defined(LIBC_SCCS) && !defined(lint) | 33 | #if defined(LIBC_SCCS) && !defined(lint) |
34 | static char *rcsid = "$OpenBSD: swab.c,v 1.4 2003/06/02 20:18:38 millert Exp $"; | 34 | static char *rcsid = "$OpenBSD: swab.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $"; |
35 | #endif /* LIBC_SCCS and not lint */ | 35 | #endif /* LIBC_SCCS and not lint */ |
36 | 36 | ||
37 | #include <unistd.h> | 37 | #include <unistd.h> |
38 | 38 | ||
39 | void | 39 | void |
40 | swab(from, to, len) | 40 | swab(const void *from, void *to, size_t len) |
41 | const void *from; | ||
42 | void *to; | ||
43 | size_t len; | ||
44 | { | 41 | { |
45 | register unsigned long temp; | 42 | register unsigned long temp; |
46 | register int n; | 43 | register int n; |