From 9acbffd33b9200ffe37833463b4d4478e824295a Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 6 Apr 2016 12:15:37 -0700 Subject: [PATCH] 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 --- 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 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 */