From 5bf94a726016b19f850b257796b635ae6242fc10 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 22 Jul 2024 14:03:22 +0000 Subject: [PATCH] remove unneeded prototypes for functions in other files --- sys/dev/ata/wd.c | 3 +-- sys/dev/i2c/ipmi_i2c.c | 4 +--- 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 * @@ -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 *); -- 2.20.1