Index | Thread | Search

From:
Jonathan Gray <jsg@jsg.id.au>
Subject:
landisk prototypes
To:
tech@openbsd.org
Date:
Wed, 22 May 2024 16:06:28 +1000

Download raw body.

Thread
  • Jonathan Gray:

    landisk prototypes

remove prototypes with no matching function

not build tested

diff --git sys/arch/sh/dev/shpcicvar.h sys/arch/sh/dev/shpcicvar.h
index 16fe1df1779..6f4b938183b 100644
--- sys/arch/sh/dev/shpcicvar.h
+++ sys/arch/sh/dev/shpcicvar.h
@@ -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 sys/arch/sh/sh/interrupt.c sys/arch/sh/sh/interrupt.c
index 87d81c6ee3d..98c0644824e 100644
--- sys/arch/sh/sh/interrupt.c
+++ sys/arch/sh/sh/interrupt.c
@@ -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);