[syslinux:master] pxe_api.h: remove __weak from prototypes

syslinux-bot for H. Peter Anvin hpa at linux.intel.com
Wed Apr 6 12:21:03 PDT 2016


Commit-ID:  9acbffd33b9200ffe37833463b4d4478e824295a
Gitweb:     http://www.syslinux.org/commit/9acbffd33b9200ffe37833463b4d4478e824295a
Author:     H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Wed, 6 Apr 2016 12:15:37 -0700
Committer:  H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Wed, 6 Apr 2016 12:15:37 -0700

pxe_api.h: remove __weak from prototypes

The prototypes themselves are not weak, and declaring them as
such forces the core definitions, which should not be weak, as weak.

Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>

---
 com32/include/syslinux/pxe_api.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/com32/include/syslinux/pxe_api.h b/com32/include/syslinux/pxe_api.h
index 3e994c0..d1fea37 100644
--- a/com32/include/syslinux/pxe_api.h
+++ b/com32/include/syslinux/pxe_api.h
@@ -585,11 +585,11 @@ typedef struct s_PXENV_UNLOAD_STACK {
 #define PXENV_STATUS_LOADER_UNDI_START			 0xca
 #define PXENV_STATUS_LOADER_BC_START			 0xcb
 
-int __weak pxe_call(int, void *);
-void __weak unload_pxe(uint16_t flags);
-uint32_t __weak dns_resolv(const char *);
+int pxe_call(int, void *);
+void unload_pxe(uint16_t flags);
+uint32_t dns_resolv(const char *);
 
-extern uint32_t __weak SendCookies;
-void __weak http_bake_cookies(void);
+extern uint32_t SendCookies;
+void http_bake_cookies(void);
 
 #endif /* _SYSLINUX_PXE_API_H */


More information about the Syslinux-commits mailing list