[syslinux:master] partial revert 9acbffd

syslinux-bot for Gene Cumm gene.cumm at gmail.com
Sun Nov 27 07:54:21 PST 2016


Commit-ID:  c114afd4522e9d48a963787719c30f9548a6765b
Gitweb:     http://www.syslinux.org/commit/c114afd4522e9d48a963787719c30f9548a6765b
Author:     Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Wed, 20 Jul 2016 06:39:23 -0400
Committer:  Gene Cumm <gene.cumm at gmail.com>
CommitDate: Sun, 27 Nov 2016 08:52:56 -0500

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 at gmail.com>

---
 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 40794e7..9b90e63 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;


More information about the Syslinux-commits mailing list