diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-05-22 05:51:50 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-05-22 05:51:50 +0000 |
commit | bcef3d2ac108162c13eccc07a5fb450e228c16f6 (patch) | |
tree | 7e822eba86d8187384caa101ab23450604168c64 /sys/arch/macppc | |
parent | 6021d76f33ea0eff5fcc2892721dc8b52fdb1cf0 (diff) |
remove prototypes with no matching function and externs with no var
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r-- | sys/arch/macppc/dev/i2s.c | 3 | ||||
-rw-r--r-- | sys/arch/macppc/dev/if_mc.c | 3 | ||||
-rw-r--r-- | sys/arch/macppc/include/autoconf.h | 5 | ||||
-rw-r--r-- | sys/arch/macppc/include/bus.h | 4 | ||||
-rw-r--r-- | sys/arch/macppc/include/z8530var.h | 3 |
5 files changed, 5 insertions, 13 deletions
diff --git a/sys/arch/macppc/dev/i2s.c b/sys/arch/macppc/dev/i2s.c index 8501ff7f46f..0cf41229552 100644 --- a/sys/arch/macppc/dev/i2s.c +++ b/sys/arch/macppc/dev/i2s.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i2s.c,v 1.38 2024/04/14 03:26:25 jsg Exp $ */ +/* $OpenBSD: i2s.c,v 1.39 2024/05/22 05:51:49 jsg Exp $ */ /* $NetBSD: i2s.c,v 1.1 2003/12/27 02:19:34 grant Exp $ */ /*- @@ -55,7 +55,6 @@ void i2s_mute(u_int, int); int i2s_cint(void *); u_int i2s_gpio_offset(struct i2s_softc *, char *, int *); -void i2s_init(struct i2s_softc *, int); int i2s_intr(void *); int i2s_iintr(void *); diff --git a/sys/arch/macppc/dev/if_mc.c b/sys/arch/macppc/dev/if_mc.c index a4175ee8739..bfa22d85239 100644 --- a/sys/arch/macppc/dev/if_mc.c +++ b/sys/arch/macppc/dev/if_mc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mc.c,v 1.33 2022/04/06 18:59:26 naddy Exp $ */ +/* $OpenBSD: if_mc.c,v 1.34 2024/05/22 05:51:49 jsg Exp $ */ /* $NetBSD: if_mc.c,v 1.9.16.1 2006/06/21 14:53:13 yamt Exp $ */ /*- @@ -307,7 +307,6 @@ struct cfdriver mc_cd = { }; void mc_init(struct mc_softc *sc); -void mc_put(struct mc_softc *sc, u_int len); int mc_dmaintr(void *arg); void mc_reset_rxdma(struct mc_softc *sc); void mc_reset_txdma(struct mc_softc *sc); diff --git a/sys/arch/macppc/include/autoconf.h b/sys/arch/macppc/include/autoconf.h index a0266e137c9..b4adafae28f 100644 --- a/sys/arch/macppc/include/autoconf.h +++ b/sys/arch/macppc/include/autoconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.h,v 1.12 2015/04/02 11:12:24 mpi Exp $ */ +/* $OpenBSD: autoconf.h,v 1.13 2024/05/22 05:51:49 jsg Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -47,10 +47,7 @@ struct confargs { }; -void set_clockintr(void (*)(struct clockframe *)); -void set_iointr(void (*)(void *, int)); int badaddr(void *, u_int32_t); -void calc_delayconst(void); typedef int (time_read_t)(time_t *sec); typedef int (time_write_t)(time_t sec); diff --git a/sys/arch/macppc/include/bus.h b/sys/arch/macppc/include/bus.h index c212e77ae33..2c002198629 100644 --- a/sys/arch/macppc/include/bus.h +++ b/sys/arch/macppc/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.26 2017/05/08 00:27:45 dlg Exp $ */ +/* $OpenBSD: bus.h,v 1.27 2024/05/22 05:51:49 jsg Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom. All rights reserved. @@ -59,8 +59,6 @@ struct ppc_bus_space { }; #define POWERPC_BUS_TAG_BASE(x) ((x)->bus_base) -extern struct ppc_bus_space ppc_isa_io, ppc_isa_mem; - /* * Access methods for bus resources */ diff --git a/sys/arch/macppc/include/z8530var.h b/sys/arch/macppc/include/z8530var.h index ac02b7cd53c..5ebe7e66cb0 100644 --- a/sys/arch/macppc/include/z8530var.h +++ b/sys/arch/macppc/include/z8530var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: z8530var.h,v 1.10 2021/03/11 11:16:58 jsg Exp $ */ +/* $OpenBSD: z8530var.h,v 1.11 2024/05/22 05:51:49 jsg Exp $ */ /* $NetBSD: z8530var.h,v 1.5 2002/03/17 19:40:45 atatat Exp $ */ /* @@ -145,7 +145,6 @@ struct zschan { volatile u_char zc_data; /* data */ u_char zc_xxx1[15]; }; -void zs_kgdb_init (void); #ifndef ZSCCF_CHANNEL #define ZSCCF_CHANNEL 0 |