Date: Sun, 27 Nov 2022 20:35:35 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 9f7156560905 - main - ofw: Remove old K&R function declaration Message-ID: <202211272035.2ARKZZNL008790@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=9f7156560905f5da0b42dce3e5fb64f77e9f70aa commit 9f7156560905f5da0b42dce3e5fb64f77e9f70aa Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-11-27 20:34:33 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-11-27 20:34:33 +0000 ofw: Remove old K&R function declaration We don't need to forward declar strchr anymore. Sponsored by: Netflix --- stand/libofw/ofw_net.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/stand/libofw/ofw_net.c b/stand/libofw/ofw_net.c index 4f393cebc2fa..643f989d5018 100644 --- a/stand/libofw/ofw_net.c +++ b/stand/libofw/ofw_net.c @@ -189,8 +189,6 @@ ofwn_get(struct iodesc *desc, void **pkt, time_t timeout) return (length); } -extern char *strchr(); - static void ofwn_init(struct iodesc *desc, void *machdep_hint) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211272035.2ARKZZNL008790>