summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/include/pmap.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/pmap.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/pmap.h')
-rw-r--r--sys/arch/sun3/include/pmap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arch/sun3/include/pmap.h b/sys/arch/sun3/include/pmap.h
index 6f9c9ecb03c..c05f69142e3 100644
--- a/sys/arch/sun3/include/pmap.h
+++ b/sys/arch/sun3/include/pmap.h
@@ -1,3 +1,4 @@
+/* $OpenBSD: pmap.h,v 1.6 1997/01/16 04:04:09 kstailey Exp $ */
/* $NetBSD: pmap.h,v 1.15 1996/11/20 18:57:16 gwr Exp $ */
/*-
@@ -56,6 +57,9 @@ typedef struct pmap *pmap_t;
#ifdef _KERNEL
struct pmap kernel_pmap_store;
+struct pcb;
+void pmap_activate __P((pmap_t pmap, struct pcb *pcbp));
+void pmap_deactivate __P((pmap_t pmap, struct pcb *pcbp));
#define pmap_kernel() (&kernel_pmap_store)