summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-07-22 14:03:23 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-07-22 14:03:23 +0000
commitbdafe3a616f11ff098f323d47d25d1c8e7647c88 (patch)
treeaf24d2c31915c1e7bcc78d08cda21322900d266c
parent6e33d6fe588071f6a535a70d5800419efb6d09d6 (diff)
remove unneeded prototypes for functions in other files
-rw-r--r--sys/dev/ata/wd.c3
-rw-r--r--sys/dev/i2c/ipmi_i2c.c4
2 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index 549f49cc57d..533eb277464 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wd.c,v 1.131 2024/05/26 10:01:01 jsg Exp $ */
+/* $OpenBSD: wd.c,v 1.132 2024/07/22 14:03:22 jsg Exp $ */
/* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */
/*
@@ -116,7 +116,6 @@ int wdprobe(struct device *, void *, void *);
void wdattach(struct device *, struct device *, void *);
int wddetach(struct device *, int);
int wdactivate(struct device *, int);
-int wdprint(void *, char *);
const struct cfattach wd_ca = {
sizeof(struct wd_softc), wdprobe, wdattach,
diff --git a/sys/dev/i2c/ipmi_i2c.c b/sys/dev/i2c/ipmi_i2c.c
index d330fe7a75a..d1859060514 100644
--- a/sys/dev/i2c/ipmi_i2c.c
+++ b/sys/dev/i2c/ipmi_i2c.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipmi_i2c.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
+/* $OpenBSD: ipmi_i2c.c,v 1.5 2024/07/22 14:03:22 jsg Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
@@ -52,8 +52,6 @@ struct ipmi_if ssif_if = {
IPMI_MSG_DATARCV
};
-extern void ipmi_attach(struct device *, struct device *, void *);
-
int ipmi_i2c_match(struct device *, void *, void *);
void ipmi_i2c_attach(struct device *, struct device *, void *);