aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2016-04-06 12:15:37 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2016-04-06 12:15:37 -0700
commit9acbffd33b9200ffe37833463b4d4478e824295a (patch)
treebb48d8cdfc2047d10b179e4ebce1f8fc9d662a36
parent4abebfbcafe90e65ecebabec530d52eddfd7ce3e (diff)
downloadsyslinux-9acbffd33b9200ffe37833463b4d4478e824295a.tar.gz
syslinux-9acbffd33b9200ffe37833463b4d4478e824295a.tar.xz
syslinux-9acbffd33b9200ffe37833463b4d4478e824295a.zip
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@linux.intel.com>
-rw-r--r--com32/include/syslinux/pxe_api.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/com32/include/syslinux/pxe_api.h b/com32/include/syslinux/pxe_api.h
index 3e994c09..d1fea37e 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 */