summaryrefslogtreecommitdiffstats
path: root/recipes-extended/ipxe/files/0002-build-Fix-old-style-function-definition.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/ipxe/files/0002-build-Fix-old-style-function-definition.patch')
-rw-r--r--recipes-extended/ipxe/files/0002-build-Fix-old-style-function-definition.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-extended/ipxe/files/0002-build-Fix-old-style-function-definition.patch b/recipes-extended/ipxe/files/0002-build-Fix-old-style-function-definition.patch
new file mode 100644
index 00000000..7edafd0d
--- /dev/null
+++ b/recipes-extended/ipxe/files/0002-build-Fix-old-style-function-definition.patch
@@ -0,0 +1,25 @@
1From 0b5e26f82d3bb5dc49557b8c29d802911c050aaf Mon Sep 17 00:00:00 2001
2From: Michael Brown <mcb30@ipxe.org>
3Date: Sun, 27 Apr 2025 17:36:52 +0100
4Subject: [PATCH] [build] Fix old-style function definition
5
6Signed-off-by: Michael Brown <mcb30@ipxe.org>
7Upstream-Status: Backport [https://github.com/ipxe/ipxe/pull/1457]
8---
9 src/drivers/net/3c595.c | 3 +--
10 1 file changed, 1 insertion(+), 2 deletions(-)
11
12diff --git a/src/drivers/net/3c595.c b/src/drivers/net/3c595.c
13index 92d38cfc5..c3442946e 100644
14--- a/src/drivers/net/3c595.c
15+++ b/src/drivers/net/3c595.c
16@@ -342,8 +342,7 @@ eeprom_rdy()
17 * before
18 */
19 static int
20-get_e(offset)
21-int offset;
22+get_e(int offset)
23 {
24 if (!eeprom_rdy())
25 return (0xffff);