summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brown2025-04-27 18:36:52 +0200
committerMichael Brown2025-04-27 19:40:03 +0200
commitb816b816aba624bc4fcfdf45f90807cd29f7f53b (patch)
tree01b9a0e064eb3d6efe9e22cbc5c53f2e460b2f77 /src
parent[build] Fix typo in xenver.h header guard (diff)
downloadipxe-b816b816aba624bc4fcfdf45f90807cd29f7f53b.tar.gz
ipxe-b816b816aba624bc4fcfdf45f90807cd29f7f53b.tar.xz
ipxe-b816b816aba624bc4fcfdf45f90807cd29f7f53b.zip
[build] Fix old-style function definition
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/net/3c595.c3
1 files changed, 1 insertions, 2 deletions
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);