diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-05-22 14:25:48 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-05-22 14:25:48 +0000 |
commit | 7ef49e23cd37e219d23ffa0f28df34f1fbcd6585 (patch) | |
tree | 2aea4530ac7bae585dc25ed5ddeb6a7c38ecbf63 /sys | |
parent | 2b26320672718ac87bc659f00f66d4d12901dede (diff) |
remove prototypes with no matching function; ok miod@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa/dev/elroy.c | 3 | ||||
-rw-r--r-- | sys/arch/hppa/dev/pdc.c | 5 | ||||
-rw-r--r-- | sys/arch/hppa/dev/siop_sgc.c | 3 | ||||
-rw-r--r-- | sys/arch/hppa/dev/wax.c | 3 | ||||
-rw-r--r-- | sys/arch/hppa/gsc/harmony.c | 4 | ||||
-rw-r--r-- | sys/arch/hppa/gsc/siop_gsc.c | 3 | ||||
-rw-r--r-- | sys/arch/hppa/hppa/machdep.c | 8 | ||||
-rw-r--r-- | sys/arch/hppa/include/autoconf.h | 3 | ||||
-rw-r--r-- | sys/arch/loongson/dev/glx.c | 6 | ||||
-rw-r--r-- | sys/arch/loongson/dev/smfb.c | 3 | ||||
-rw-r--r-- | sys/arch/luna88k/dev/mb89352var.h | 3 | ||||
-rw-r--r-- | sys/arch/m88k/m88k/db_interface.c | 4 | ||||
-rw-r--r-- | sys/arch/m88k/m88k/fpu.h | 3 | ||||
-rw-r--r-- | sys/arch/sh/dev/shpcicvar.h | 9 | ||||
-rw-r--r-- | sys/arch/sh/sh/interrupt.c | 3 |
15 files changed, 15 insertions, 48 deletions
diff --git a/sys/arch/hppa/dev/elroy.c b/sys/arch/hppa/dev/elroy.c index 4b389dfb2d2..a565daffb99 100644 --- a/sys/arch/hppa/dev/elroy.c +++ b/sys/arch/hppa/dev/elroy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elroy.c,v 1.12 2022/03/13 08:04:38 mpi Exp $ */ +/* $OpenBSD: elroy.c,v 1.13 2024/05/22 14:25:47 jsg Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -47,7 +47,6 @@ int elroy_match(struct device *, void *, void *); void elroy_attach(struct device *, struct device *, void *); -int elroy_intr(void *); const struct cfattach elroy_ca = { sizeof(struct elroy_softc), elroy_match, elroy_attach diff --git a/sys/arch/hppa/dev/pdc.c b/sys/arch/hppa/dev/pdc.c index 896075bbd6b..04505ed24ba 100644 --- a/sys/arch/hppa/dev/pdc.c +++ b/sys/arch/hppa/dev/pdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pdc.c,v 1.41 2022/03/13 08:04:38 mpi Exp $ */ +/* $OpenBSD: pdc.c,v 1.42 2024/05/22 14:25:47 jsg Exp $ */ /* * Copyright (c) 1998-2003 Michael Shalayeff @@ -54,9 +54,6 @@ char pdc_consbuf[IODC_MINIOSIZ] PDC_ALIGNMENT; iodcio_t pdc_cniodc, pdc_kbdiodc; pz_device_t *pz_kbd, *pz_cons; -int pdcngetc(dev_t); -void pdcnputc(dev_t, char *); - struct consdev pdccons = { NULL, NULL, pdccngetc, pdccnputc, nullcnpollc, NULL, makedev(22, 0), CN_LOWPRI }; diff --git a/sys/arch/hppa/dev/siop_sgc.c b/sys/arch/hppa/dev/siop_sgc.c index d70543a3d5e..ab7fdf45207 100644 --- a/sys/arch/hppa/dev/siop_sgc.c +++ b/sys/arch/hppa/dev/siop_sgc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: siop_sgc.c,v 1.2 2022/03/13 08:04:38 mpi Exp $ */ +/* $OpenBSD: siop_sgc.c,v 1.3 2024/05/22 14:25:47 jsg Exp $ */ /* * Copyright (c) 2007 Mark Kettenis @@ -39,7 +39,6 @@ int siop_sgc_match(struct device *, void *, void *); void siop_sgc_attach(struct device *, struct device *, void *); -int siop_sgc_intr(void *); void siop_sgc_reset(struct siop_common_softc *); u_int8_t siop_sgc_r1(void *, bus_space_handle_t, bus_size_t); diff --git a/sys/arch/hppa/dev/wax.c b/sys/arch/hppa/dev/wax.c index 4167660fe69..9a95b8434be 100644 --- a/sys/arch/hppa/dev/wax.c +++ b/sys/arch/hppa/dev/wax.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wax.c,v 1.11 2018/05/14 13:54:39 kettenis Exp $ */ +/* $OpenBSD: wax.c,v 1.12 2024/05/22 14:25:47 jsg Exp $ */ /* * Copyright (c) 1998-2003 Michael Shalayeff @@ -42,7 +42,6 @@ int waxmatch(struct device *, void *, void *); void waxattach(struct device *, struct device *, void *); -void wax_gsc_attach(struct device *); const struct cfattach wax_ca = { sizeof(struct device), waxmatch, waxattach diff --git a/sys/arch/hppa/gsc/harmony.c b/sys/arch/hppa/gsc/harmony.c index e0ee7de1a81..7a6e183f143 100644 --- a/sys/arch/hppa/gsc/harmony.c +++ b/sys/arch/hppa/gsc/harmony.c @@ -1,4 +1,4 @@ -/* $OpenBSD: harmony.c,v 1.40 2022/10/26 20:19:06 kn Exp $ */ +/* $OpenBSD: harmony.c,v 1.41 2024/05/22 14:25:47 jsg Exp $ */ /* * Copyright (c) 2003 Jason L. Wright (jason@thought.net) @@ -99,8 +99,6 @@ u_int32_t harmony_speed_bits(struct harmony_softc *, u_long *); int harmony_set_gainctl(struct harmony_softc *); void harmony_reset_codec(struct harmony_softc *); void harmony_start_cp(struct harmony_softc *); -void harmony_tick_pb(void *); -void harmony_tick_cp(void *); void harmony_try_more(struct harmony_softc *); void harmony_acc_tmo(void *); diff --git a/sys/arch/hppa/gsc/siop_gsc.c b/sys/arch/hppa/gsc/siop_gsc.c index 2bff40dd420..ee1851b1a43 100644 --- a/sys/arch/hppa/gsc/siop_gsc.c +++ b/sys/arch/hppa/gsc/siop_gsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: siop_gsc.c,v 1.5 2022/03/13 08:04:38 mpi Exp $ */ +/* $OpenBSD: siop_gsc.c,v 1.6 2024/05/22 14:25:47 jsg Exp $ */ /* * Copyright (c) 2007 Mark Kettenis @@ -39,7 +39,6 @@ int siop_gsc_match(struct device *, void *, void *); void siop_gsc_attach(struct device *, struct device *, void *); -int siop_gsc_intr(void *); void siop_gsc_reset(struct siop_common_softc *); u_int8_t siop_gsc_r1(void *, bus_space_handle_t, bus_size_t); diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c index 2241bb37366..3d46f57b21a 100644 --- a/sys/arch/hppa/hppa/machdep.c +++ b/sys/arch/hppa/hppa/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.269 2024/04/14 03:26:25 jsg Exp $ */ +/* $OpenBSD: machdep.c,v 1.270 2024/05/22 14:25:47 jsg Exp $ */ /* * Copyright (c) 1999-2003 Michael Shalayeff @@ -177,12 +177,6 @@ extern const u_int itlb_s[], itlbna_s[], dtlb_s[], dtlbna_s[], tlbd_s[]; extern const u_int itlb_t[], itlbna_t[], dtlb_t[], dtlbna_t[], tlbd_t[]; extern const u_int itlb_l[], itlbna_l[], dtlb_l[], dtlbna_l[], tlbd_l[]; extern const u_int itlb_u[], itlbna_u[], dtlb_u[], dtlbna_u[], tlbd_u[]; -int iibtlb_s(int i, pa_space_t sp, vaddr_t va, paddr_t pa, - vsize_t sz, u_int prot); -int idbtlb_s(int i, pa_space_t sp, vaddr_t va, paddr_t pa, - vsize_t sz, u_int prot); -int ibtlb_t(int i, pa_space_t sp, vaddr_t va, paddr_t pa, - vsize_t sz, u_int prot); int ibtlb_l(int i, pa_space_t sp, vaddr_t va, paddr_t pa, vsize_t sz, u_int prot); int ibtlb_u(int i, pa_space_t sp, vaddr_t va, paddr_t pa, diff --git a/sys/arch/hppa/include/autoconf.h b/sys/arch/hppa/include/autoconf.h index ec039843951..345a31e0863 100644 --- a/sys/arch/hppa/include/autoconf.h +++ b/sys/arch/hppa/include/autoconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.h,v 1.24 2021/03/11 11:16:57 jsg Exp $ */ +/* $OpenBSD: autoconf.h,v 1.25 2024/05/22 14:25:47 jsg Exp $ */ /* * Copyright (c) 1998-2004 Michael Shalayeff @@ -78,6 +78,5 @@ void *cpu_intr_map(void *v, int pri, int irq, int (*handler)(void *), void *arg, const char *name); void *cpu_intr_establish(int pri, int irq, int (*handler)(void *), void *arg, const char *name); -int clock_intr(void *); void dumpconf(void); diff --git a/sys/arch/loongson/dev/glx.c b/sys/arch/loongson/dev/glx.c index e44dc3bd374..5586b184b7b 100644 --- a/sys/arch/loongson/dev/glx.c +++ b/sys/arch/loongson/dev/glx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: glx.c,v 1.12 2022/08/18 06:31:36 miod Exp $ */ +/* $OpenBSD: glx.c,v 1.13 2024/05/22 14:25:47 jsg Exp $ */ /* * Copyright (c) 2009 Miodrag Vallat. @@ -75,10 +75,6 @@ pcireg_t glx_fn4_read(int); void glx_fn4_write(int, pcireg_t); pcireg_t glx_fn5_read(int); void glx_fn5_write(int, pcireg_t); -pcireg_t glx_fn6_read(int); -void glx_fn6_write(int, pcireg_t); -pcireg_t glx_fn7_read(int); -void glx_fn7_write(int, pcireg_t); void glx_init(pci_chipset_tag_t pc, pcitag_t tag, int dev) diff --git a/sys/arch/loongson/dev/smfb.c b/sys/arch/loongson/dev/smfb.c index 840bfa764a1..f6e91cc267f 100644 --- a/sys/arch/loongson/dev/smfb.c +++ b/sys/arch/loongson/dev/smfb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smfb.c,v 1.21 2022/07/15 17:57:26 kettenis Exp $ */ +/* $OpenBSD: smfb.c,v 1.22 2024/05/22 14:25:47 jsg Exp $ */ /* * Copyright (c) 2009, 2010 Miodrag Vallat. @@ -137,7 +137,6 @@ void smfb_copyrect(struct smfb *, int, int, int, int, int, int); void smfb_fillrect(struct smfb *, int, int, int, int, int); int smfb_copyrows(void *, int, int, int); int smfb_copycols(void *, int, int, int, int); -int smfb_do_cursor(struct rasops_info *); int smfb_erasecols(void *, int, int, int, uint32_t); int smfb_eraserows(void *, int, int, uint32_t); int smfb_wait(struct smfb *); diff --git a/sys/arch/luna88k/dev/mb89352var.h b/sys/arch/luna88k/dev/mb89352var.h index 4287abadf8a..60ae5ebcf87 100644 --- a/sys/arch/luna88k/dev/mb89352var.h +++ b/sys/arch/luna88k/dev/mb89352var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mb89352var.h,v 1.9 2022/04/16 19:19:58 naddy Exp $ */ +/* $OpenBSD: mb89352var.h,v 1.10 2024/05/22 14:25:47 jsg Exp $ */ /* $NetBSD: mb89352var.h,v 1.6 2003/08/02 12:48:09 tsutsui Exp $ */ /* NecBSD: mb89352var.h,v 1.4 1998/03/14 07:31:22 kmatsuda Exp */ @@ -209,5 +209,4 @@ int spc_find(bus_space_tag_t, bus_space_handle_t, int); void spc_init(struct spc_softc *); void spc_sched(struct spc_softc *); void spc_scsi_cmd(struct scsi_xfer *); -void spc_minphys(struct buf *); #endif /* _MB89352VAR_H_ */ diff --git a/sys/arch/m88k/m88k/db_interface.c b/sys/arch/m88k/m88k/db_interface.c index ba6e5428266..a46b2261050 100644 --- a/sys/arch/m88k/m88k/db_interface.c +++ b/sys/arch/m88k/m88k/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.29 2024/02/23 18:19:03 cheloha Exp $ */ +/* $OpenBSD: db_interface.c,v 1.30 2024/05/22 14:25:47 jsg Exp $ */ /* * Mach Operating System * Copyright (c) 1993-1991 Carnegie Mellon University @@ -68,8 +68,6 @@ void m88k_db_print_frame(db_expr_t, int, db_expr_t, char *); void m88k_db_registers(db_expr_t, int, db_expr_t, char *); void m88k_db_where(db_expr_t, int, db_expr_t, char *); void m88k_db_frame_search(db_expr_t, int, db_expr_t, char *); -void m88k_db_translate(db_expr_t, int, db_expr_t, char *); -void m88k_db_cmmucfg(db_expr_t, int, db_expr_t, char *); db_regs_t ddb_regs; diff --git a/sys/arch/m88k/m88k/fpu.h b/sys/arch/m88k/m88k/fpu.h index 0e62030f789..4d3fd013932 100644 --- a/sys/arch/m88k/m88k/fpu.h +++ b/sys/arch/m88k/m88k/fpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: fpu.h,v 1.1 2014/06/09 16:26:32 miod Exp $ */ +/* $OpenBSD: fpu.h,v 1.2 2024/05/22 14:25:47 jsg Exp $ */ /* * Copyright (c) 2014 Miodrag Vallat. @@ -37,6 +37,5 @@ typedef union { } fparg; void fpu_compare(struct trapframe *, fparg *, fparg *, u_int, u_int, u_int); -int fpu_emulate(struct trapframe *, u_int32_t); u_int fpu_precision(u_int, u_int, u_int); void fpu_store(struct trapframe *, u_int, u_int, u_int, fparg *); 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); |