summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-03-14 00:58:41 +0000
committermillert <millert@openbsd.org>2002-03-14 00:58:41 +0000
commit0ae265987e3cadb578a50b3f9645af72ccd409bb (patch)
tree24d1858ce556e5f757aab63ed8a951656f78f0b7
parentRemove PTRACE support out of the ramdisks/miniroots. (diff)
downloadwireguard-openbsd-0ae265987e3cadb578a50b3f9645af72ccd409bb.tar.xz
wireguard-openbsd-0ae265987e3cadb578a50b3f9645af72ccd409bb.zip
Don't prototype pmap_copy() if it is a macro
-rw-r--r--sys/uvm/uvm_pmap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/uvm/uvm_pmap.h b/sys/uvm/uvm_pmap.h
index 4180c47ca45..fd4cde6a5c7 100644
--- a/sys/uvm/uvm_pmap.h
+++ b/sys/uvm/uvm_pmap.h
@@ -112,8 +112,9 @@ boolean_t pmap_clear_reference __P((struct vm_page *));
#endif
void pmap_collect __P((pmap_t));
-void pmap_copy __P((pmap_t,
- pmap_t, vaddr_t, vsize_t, vaddr_t));
+#if !defined(pmap_copy)
+void pmap_copy __P((pmap_t, pmap_t, vaddr_t, vsize_t, vaddr_t));
+#endif
void pmap_copy_page __P((paddr_t, paddr_t));
struct pmap *pmap_create __P((void));
void pmap_destroy __P((pmap_t));