summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-02-16 18:06:39 +0000
committermillert <millert@openbsd.org>2002-02-16 18:06:39 +0000
commit9de9119ad4f732a01666935709ee11ac716eae90 (patch)
tree39fe0ff94c2e8cd8ccbf83b6a478a30de5f9644b
parenttraverse down into fdescfs and uvm (diff)
downloadwireguard-openbsd-9de9119ad4f732a01666935709ee11ac716eae90.tar.xz
wireguard-openbsd-9de9119ad4f732a01666935709ee11ac716eae90.zip
Don't prototype functions if they are really just macros.
-rw-r--r--sys/sys/proc.h4
-rw-r--r--sys/uvm/uvm_pmap.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 8e20f05f1bd..6083b14bb89 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.h,v 1.55 2002/01/31 02:12:18 weingart Exp $ */
+/* $OpenBSD: proc.h,v 1.56 2002/02/16 18:06:39 millert Exp $ */
/* $NetBSD: proc.h,v 1.44 1996/04/22 01:23:21 christos Exp $ */
/*-
@@ -388,7 +388,9 @@ int fork1 __P((struct proc *, int, int, void *, size_t, void (*)(void *),
void rqinit __P((void));
int groupmember __P((gid_t, struct ucred *));
void cpu_switch __P((struct proc *));
+#if !defined(cpu_wait)
void cpu_wait __P((struct proc *));
+#endif
void cpu_exit __P((struct proc *));
void child_return __P((void *));
diff --git a/sys/uvm/uvm_pmap.h b/sys/uvm/uvm_pmap.h
index 5e9617bc624..4180c47ca45 100644
--- a/sys/uvm/uvm_pmap.h
+++ b/sys/uvm/uvm_pmap.h
@@ -144,7 +144,9 @@ void pmap_protect __P((pmap_t,
vaddr_t, vaddr_t, vm_prot_t));
void pmap_reference __P((pmap_t));
void pmap_remove __P((pmap_t, vaddr_t, vaddr_t));
+#if !defined(pmap_update)
void pmap_update __P((void));
+#endif
void pmap_zero_page __P((paddr_t));
void pmap_virtual_space __P((vaddr_t *, vaddr_t *));