summaryrefslogtreecommitdiff
path: root/lib/libc/string/swab.c
diff options
context:
space:
mode:
authorTom Rhodes <trhodes@FreeBSD.org>2004-12-10 15:24:40 +0000
committerTom Rhodes <trhodes@FreeBSD.org>2004-12-10 15:24:40 +0000
commit2f5cde3c64228de95d392e408f3198df9ba414a1 (patch)
treeecddfa78aa35a2badcb1a43b4e07713a73436f7a /lib/libc/string/swab.c
parent54bb820a7542f8d27712c65adc66f8a381d6c6dd (diff)
Notes
Diffstat (limited to 'lib/libc/string/swab.c')
-rw-r--r--lib/libc/string/swab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/string/swab.c b/lib/libc/string/swab.c
index aa6f2682c01b..8c0c43febfde 100644
--- a/lib/libc/string/swab.c
+++ b/lib/libc/string/swab.c
@@ -40,10 +40,10 @@ static char sccsid[] = "@(#)swab.c 8.1 (Berkeley) 6/4/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <string.h>
+#include <unistd.h>
void
-swab(const void * __restrict from, void * __restrict to, size_t len)
+swab(const void * __restrict from, void * __restrict to, ssize_t len)
{
unsigned long temp;
int n;