Skip to content

Commit

Permalink
pxe_api.h: remove __weak from prototypes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H. Peter Anvin committed Apr 6, 2016
1 parent 4abebfb commit 9acbffd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions com32/include/syslinux/pxe_api.h
Expand Up @@ -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 */

0 comments on commit 9acbffd

Please sign in to comment.