summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichaels <michaels@openbsd.org>1996-12-13 21:26:39 +0000
committermichaels <michaels@openbsd.org>1996-12-13 21:26:39 +0000
commite01e66b9512bec8081735f1b35832e2253e5fb32 (patch)
tree950e3e33fe4a3aa5e4fc1e3de6787930e8394bc3
parentcorrect function declaration and return (diff)
downloadwireguard-openbsd-e01e66b9512bec8081735f1b35832e2253e5fb32.tar.xz
wireguard-openbsd-e01e66b9512bec8081735f1b35832e2253e5fb32.zip
make UIO_MAXIOV visible to userland.
-rw-r--r--sys/sys/uio.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/sys/uio.h b/sys/sys/uio.h
index 49e71525019..fdab373715a 100644
--- a/sys/sys/uio.h
+++ b/sys/sys/uio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uio.h,v 1.2 1996/03/03 12:12:38 niklas Exp $ */
+/* $OpenBSD: uio.h,v 1.3 1996/12/13 21:26:39 michaels Exp $ */
/* $NetBSD: uio.h,v 1.12 1996/02/09 18:25:45 christos Exp $ */
/*
@@ -70,10 +70,11 @@ struct uio {
/*
* Limits
*/
-#define UIO_MAXIOV 1024 /* max 1K of iov's */
#define UIO_SMALLIOV 8 /* 8 on stack, else malloc */
#endif /* _KERNEL */
+#define UIO_MAXIOV 1024 /* max 1K of iov's */
+
#ifndef _KERNEL
#include <sys/cdefs.h>