From c114afd4522e9d48a963787719c30f9548a6765b Mon Sep 17 00:00:00 2001 From: Gene Cumm Date: Wed, 20 Jul 2016 06:39:23 -0400 Subject: 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 --- com32/include/syslinux/pxe_api.h | 4 ++-- 1 file 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; -- cgit v1.2.1