summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/swab.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1998-02-10 02:19:46 +0000
committerderaadt <deraadt@openbsd.org>1998-02-10 02:19:46 +0000
commitc1f33f96355f1701fa621cb0776154f789c0ca34 (patch)
tree46c2a29c82c6356512de0656e75c2028fd991dbb /lib/libc/string/swab.c
parentFix buffer overflows in quote1(), clear line buffer (diff)
downloadwireguard-openbsd-c1f33f96355f1701fa621cb0776154f789c0ca34.tar.xz
wireguard-openbsd-c1f33f96355f1701fa621cb0776154f789c0ca34.zip
move proto to unistd.h
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 bdedd06672b..311cf13a531 100644
--- a/lib/libc/string/swab.c
+++ b/lib/libc/string/swab.c
@@ -35,10 +35,10 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: swab.c,v 1.2 1996/08/19 08:34:30 tholo Exp $";
+static char *rcsid = "$OpenBSD: swab.c,v 1.3 1998/02/10 02:19:48 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
-#include <string.h>
+#include <unistd.h>
void
swab(from, to, len)