mirror of
https://github.com/ipxe/ipxe
synced 2025-12-29 11:03:15 +03:00
[build] Fix misaligned table entries when using gcc 4.5
Declarations without the accompanying __table_entry cause misalignment of the table entries when using gcc 4.5. Fix by adding the appropriate __table_entry macro or (where possible) by removing unnecessary forward declarations. Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
committed by
Michael Brown
parent
49d6f57005
commit
b9eaf24df2
@@ -44,7 +44,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
|
||||
FEATURE ( FEATURE_PROTOCOL, "AoE", DHCP_EB_FEATURE_AOE, 1 );
|
||||
|
||||
struct net_protocol aoe_protocol;
|
||||
struct net_protocol aoe_protocol __net_protocol;
|
||||
|
||||
/** List of all AoE sessions */
|
||||
static LIST_HEAD ( aoe_sessions );
|
||||
|
||||
Reference in New Issue
Block a user