Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2023 22:13:04 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 1170d72ddcc0 - stable/13 - ofw: Remove old K&R function declaration
Message-ID:  <202301242213.30OMD4Qk087901@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301242213.30OMD4Qk087901>