git: 1170d72ddcc0 - stable/13 - ofw: Remove old K&R function declaration
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Jan 2023 22:13:04 UTC
The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=1170d72ddcc0e662c848a1951bf48f5c25963d4b commit 1170d72ddcc0e662c848a1951bf48f5c25963d4b Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-11-27 20:34:33 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-01-24 21:49:37 +0000 ofw: Remove old K&R function declaration We don't need to forward declar strchr anymore. Sponsored by: Netflix (cherry picked from commit 9f7156560905f5da0b42dce3e5fb64f77e9f70aa) --- 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) {