summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/swab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/swab.c')
-rw-r--r--src/lib/libc/string/swab.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/string/swab.c b/src/lib/libc/string/swab.c
index b928f21aa7..0129561aa3 100644
--- a/src/lib/libc/string/swab.c
+++ b/src/lib/libc/string/swab.c
@@ -31,7 +31,7 @@
31 */ 31 */
32 32
33#if defined(LIBC_SCCS) && !defined(lint) 33#if defined(LIBC_SCCS) && !defined(lint)
34static char *rcsid = "$OpenBSD: swab.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $"; 34static char *rcsid = "$OpenBSD: swab.c,v 1.6 2005/03/30 20:13:52 otto 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>
@@ -39,9 +39,9 @@ static char *rcsid = "$OpenBSD: swab.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $";
39void 39void
40swab(const void *from, void *to, size_t len) 40swab(const void *from, void *to, size_t len)
41{ 41{
42 register unsigned long temp; 42 unsigned long temp;
43 register int n; 43 int n;
44 register char *fp, *tp; 44 char *fp, *tp;
45 45
46 n = (len >> 1) + 1; 46 n = (len >> 1) + 1;
47 fp = (char *)from; 47 fp = (char *)from;