From: Michael Brown Date: Sun, 27 Apr 2025 16:36:52 +0000 (+0100) Subject: [build] Fix old-style function definition X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b816b816aba624bc4fcfdf45f90807cd29f7f53b;p=thirdparty%2Fipxe.git [build] Fix old-style function definition Signed-off-by: Michael Brown --- diff --git a/src/drivers/net/3c595.c b/src/drivers/net/3c595.c index c69831005..1fab56aa9 100644 --- a/src/drivers/net/3c595.c +++ b/src/drivers/net/3c595.c @@ -342,8 +342,7 @@ eeprom_rdy() * before */ static int -get_e(offset) -int offset; +get_e(int offset) { if (!eeprom_rdy()) return (0xffff);