git: 9f7156560905 - main - ofw: Remove old K&R function declaration
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Nov 2022 20:35:35 UTC
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) {