aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2016-07-20 06:39:23 -0400
committerGene Cumm <gene.cumm@gmail.com>2016-11-27 08:52:56 -0500
commitc114afd4522e9d48a963787719c30f9548a6765b (patch)
treecdc53d886a9902ee8df78094847f2d2dae0830c8
parent852bd3fbca87640b061ebdf1cd9557a9c9a1547a (diff)
downloadsyslinux-c114afd4522e9d48a963787719c30f9548a6765b.tar.gz
syslinux-c114afd4522e9d48a963787719c30f9548a6765b.tar.xz
syslinux-c114afd4522e9d48a963787719c30f9548a6765b.zip
partial revert 9acbffd
Weaken 2 declarations. Seems to be the minimal amount for now. First exhibited issues with EFI but later also with BIOS beyond *pxelinux.0 when compiled with gcc-5.3.1 and gcc-6. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
-rw-r--r--com32/include/syslinux/pxe_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/include/syslinux/pxe_api.h b/com32/include/syslinux/pxe_api.h
index 40794e74..9b90e638 100644
--- a/com32/include/syslinux/pxe_api.h
+++ b/com32/include/syslinux/pxe_api.h
@@ -585,8 +585,8 @@ typedef struct s_PXENV_UNLOAD_STACK {
#define PXENV_STATUS_LOADER_UNDI_START 0xca
#define PXENV_STATUS_LOADER_BC_START 0xcb
-int pxe_call(int, void *);
-void unload_pxe(uint16_t flags);
+int __weak pxe_call(int, void *);
+void __weak unload_pxe(uint16_t flags);
uint32_t pxe_dns(const char *);
extern uint32_t SendCookies;