From: jsg Date: Tue, 18 Jun 2024 12:37:29 +0000 (+0000) Subject: remove prototypes with no matching function X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=30b37c0c60bebdcd928c263308bc6f5826d37122;p=openbsd remove prototypes with no matching function --- diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h index d9b5cb50bc9..da2b40ba149 100644 --- a/sys/arch/i386/include/cpu.h +++ b/sys/arch/i386/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.191 2024/06/09 21:15:29 jca Exp $ */ +/* $OpenBSD: cpu.h,v 1.192 2024/06/18 12:37:29 jsg Exp $ */ /* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */ /*- @@ -458,7 +458,6 @@ void k1x_setperf(int); #endif /* npx.c */ -void npxdrop(struct proc *); void npxsave_proc(struct proc *, int); void npxsave_cpu(struct cpu_info *, int); diff --git a/sys/arch/i386/include/pmap.h b/sys/arch/i386/include/pmap.h index b56a7408840..2ead66ef937 100644 --- a/sys/arch/i386/include/pmap.h +++ b/sys/arch/i386/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.94 2023/12/11 22:12:53 kettenis Exp $ */ +/* $OpenBSD: pmap.h,v 1.95 2024/06/18 12:37:29 jsg Exp $ */ /* $NetBSD: pmap.h,v 1.44 2000/04/24 17:18:18 thorpej Exp $ */ /* @@ -297,7 +297,6 @@ void pmap_pinit_pd_pae(pmap_t); void pmap_zero_phys_pae(paddr_t); int pmap_zero_page_uncached_pae(paddr_t); void pmap_copy_page_pae(struct vm_page *, struct vm_page *); -void pae_copy_phys(paddr_t, paddr_t, int, int); #define pmap_pte_set (*pmap_pte_set_p) #define pmap_pte_setbits (*pmap_pte_setbits_p) diff --git a/sys/arch/powerpc/include/pmap.h b/sys/arch/powerpc/include/pmap.h index 80323ba6ea9..4b80cf84410 100644 --- a/sys/arch/powerpc/include/pmap.h +++ b/sys/arch/powerpc/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.65 2023/12/11 22:12:53 kettenis Exp $ */ +/* $OpenBSD: pmap.h,v 1.66 2024/06/18 12:37:29 jsg Exp $ */ /* $NetBSD: pmap.h,v 1.1 1996/09/30 16:34:29 ws Exp $ */ /*- @@ -138,7 +138,6 @@ void pmap_enable_mmu(); int pmap_clear_attrs(struct vm_page *, unsigned int); int pmap_test_attrs(struct vm_page *, unsigned int); -void pmap_pinit(struct pmap *); void pmap_release(struct pmap *); #ifdef ALTIVEC diff --git a/sys/dev/ic/wdcvar.h b/sys/dev/ic/wdcvar.h index 8f4b08d802f..cb3a9e8e937 100644 --- a/sys/dev/ic/wdcvar.h +++ b/sys/dev/ic/wdcvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wdcvar.h,v 1.58 2024/05/29 00:48:15 jsg Exp $ */ +/* $OpenBSD: wdcvar.h,v 1.59 2024/06/18 12:37:29 jsg Exp $ */ /* $NetBSD: wdcvar.h,v 1.17 1999/04/11 20:50:29 bouyer Exp $ */ /*- @@ -287,9 +287,6 @@ void wdccommandshort(struct channel_softc *, int, int); void wdctimeout(void *arg); void wdc_do_reset(struct channel_softc *); -int wdc_addref(struct channel_softc *); -void wdc_delref(struct channel_softc *); - /* * ST506 spec says that if READY or SEEKCMPLT go off, then the read or write * command is aborted. diff --git a/sys/uvm/uvm_map.h b/sys/uvm/uvm_map.h index 2fd80e85888..3a47d6dd899 100644 --- a/sys/uvm/uvm_map.h +++ b/sys/uvm/uvm_map.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_map.h,v 1.89 2024/04/02 08:39:17 deraadt Exp $ */ +/* $OpenBSD: uvm_map.h,v 1.90 2024/06/18 12:37:29 jsg Exp $ */ /* $NetBSD: uvm_map.h,v 1.24 2001/02/18 21:19:08 chs Exp $ */ /* @@ -363,10 +363,6 @@ void uvm_map_init(void); boolean_t uvm_map_lookup_entry(struct vm_map *, vaddr_t, vm_map_entry_t *); boolean_t uvm_map_is_stack_remappable(struct vm_map *, vaddr_t, vsize_t, int); int uvm_map_remap_as_stack(struct proc *, vaddr_t, vsize_t); -int uvm_map_replace(struct vm_map *, vaddr_t, vaddr_t, - vm_map_entry_t, int); -int uvm_map_reserve(struct vm_map *, vsize_t, vaddr_t, vsize_t, - vaddr_t *); void uvm_map_setup(struct vm_map *, pmap_t, vaddr_t, vaddr_t, int); int uvm_map_submap(struct vm_map *, vaddr_t, vaddr_t, struct vm_map *);