summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/include/idprom.h
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-01-16 04:04:37 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-01-16 04:04:37 +0000
commit44d017900d1fa86842c5c61f42dc8b9c251362f6 (patch)
tree19d026477b44457a45b2f971cb61deb77cf7b42a /sys/arch/sun3/include/idprom.h
parentabd2051d67a709d535a48746b4ff8bea263fabdb (diff)
all modified code can now compile with -Werror -Wall -Wstrict-prototypes
CAVEAT: turning off -O2 produces warnings about "defined but not used" functions from libkern.h removed internal copy of gets() replaced with call to getsn() fixed #ifdef ... #endif mismatch in swapgeneric.c fixed printf() in if_ie.c that was missing an argument fixed si.c so that it compiles added tags to all edited files
Diffstat (limited to 'sys/arch/sun3/include/idprom.h')
-rw-r--r--sys/arch/sun3/include/idprom.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/sun3/include/idprom.h b/sys/arch/sun3/include/idprom.h
index 42c30ce4ed1..50cd844a2d5 100644
--- a/sys/arch/sun3/include/idprom.h
+++ b/sys/arch/sun3/include/idprom.h
@@ -1,3 +1,4 @@
+/* $OpenBSD: idprom.h,v 1.5 1997/01/16 04:04:07 kstailey Exp $ */
/* $NetBSD: idprom.h,v 1.12 1996/11/20 18:57:10 gwr Exp $ */
/*-
@@ -54,7 +55,10 @@ struct idprom {
#define IDPROM_SIZE (sizeof(struct idprom))
#ifdef _KERNEL
+
extern struct idprom identity_prom;
-int idprom_init();
+
+int idprom_init __P((void));
void idprom_etheraddr __P((u_char *));
+
#endif