summaryrefslogtreecommitdiff
path: root/sys/arch/sh
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-05-22 14:25:48 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-05-22 14:25:48 +0000
commit7ef49e23cd37e219d23ffa0f28df34f1fbcd6585 (patch)
tree2aea4530ac7bae585dc25ed5ddeb6a7c38ecbf63 /sys/arch/sh
parent2b26320672718ac87bc659f00f66d4d12901dede (diff)
remove prototypes with no matching function; ok miod@
Diffstat (limited to 'sys/arch/sh')
-rw-r--r--sys/arch/sh/dev/shpcicvar.h9
-rw-r--r--sys/arch/sh/sh/interrupt.c3
2 files changed, 2 insertions, 10 deletions
diff --git a/sys/arch/sh/dev/shpcicvar.h b/sys/arch/sh/dev/shpcicvar.h
index 16fe1df1779..2b13210349a 100644
--- a/sys/arch/sh/dev/shpcicvar.h
+++ b/sys/arch/sh/dev/shpcicvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: shpcicvar.h,v 1.6 2010/12/04 17:06:32 miod Exp $ */
+/* $OpenBSD: shpcicvar.h,v 1.7 2024/05/22 14:25:47 jsg Exp $ */
/* $NetBSD: shpcicvar.h,v 1.6 2005/12/11 12:18:58 christos Exp $ */
/*-
@@ -43,11 +43,6 @@ int shpcic_conf_size(void *, pcitag_t);
pcireg_t shpcic_conf_read(void *v, pcitag_t tag, int reg);
void shpcic_conf_write(void *v, pcitag_t tag, int reg, pcireg_t data);
-int shpcic_set_intr_priority(int intr, int level);
-void *shpcic_intr_establish(int evtcode, int (*ih_func)(void *), void *ih_arg,
- const char *ih_name);
-void shpcic_intr_disestablish(void *ih);
-
struct config_bus_space {
u_int32_t bus_base;
u_int32_t bus_size;
@@ -67,8 +62,6 @@ struct shpcic_softc {
struct config_bus_space sc_iobus_space;
};
-void pci_addr_fixup(void *v, int maxbus);
-
/*
* shpcic io/mem bus space
*/
diff --git a/sys/arch/sh/sh/interrupt.c b/sys/arch/sh/sh/interrupt.c
index 87d81c6ee3d..a2caa6ba666 100644
--- a/sys/arch/sh/sh/interrupt.c
+++ b/sys/arch/sh/sh/interrupt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: interrupt.c,v 1.17 2020/10/07 12:13:23 mpi Exp $ */
+/* $OpenBSD: interrupt.c,v 1.18 2024/05/22 14:25:47 jsg Exp $ */
/* $NetBSD: interrupt.c,v 1.18 2006/01/25 00:02:57 uwe Exp $ */
/*-
@@ -53,7 +53,6 @@ void intpri_intr_enable(int);
void intpri_intr_disable(int);
#endif
-void netintr(void);
void tmu1_oneshot(void);
int tmu1_intr(void *);
void setsoft(int);