summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-23 19:22:44 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-23 19:22:44 +0000
commit9e3b38b973b449e206ffab70b196bc28088267c4 (patch)
tree81a20d3e09fdf8a6622fe91655589fd1ac3cd2eb /sys/lib
parent531784b7e722c2bdb60cd48c504e23dd44d6dda7 (diff)
Fluff needed for -Wstrict-prototypes -Wmissing-prototypes
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/libkern/getsn.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/lib/libkern/getsn.c b/sys/lib/libkern/getsn.c
index 7a5d7a518c0..8026ef4f4c6 100644
--- a/sys/lib/libkern/getsn.c
+++ b/sys/lib/libkern/getsn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getsn.c,v 1.1 1996/06/16 01:14:20 deraadt Exp $ */
+/* $OpenBSD: getsn.c,v 1.2 1996/08/23 19:22:43 niklas Exp $ */
/*
* Copyright (c) 1996 Theo de Raadt
@@ -30,6 +30,11 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+#include <sys/types.h>
+#include <sys/systm.h>
+#include <dev/cons.h>
+
int
getsn(cp, size)
char *cp;