mirror of
https://github.com/ipxe/ipxe
synced 2025-12-24 06:22:59 +03:00
Applied a modified version of holger's regparm patches.
This commit is contained in:
@@ -276,6 +276,9 @@ extern void dbg_hex_dump_da ( unsigned long dispaddr,
|
||||
/** Declare a variable or data structure as unused. */
|
||||
#define __unused __attribute__ (( unused ))
|
||||
|
||||
/** Apply standard C calling conventions */
|
||||
#define __cdecl __attribute__ (( cdecl , regparm(0) ))
|
||||
|
||||
/**
|
||||
* Declare a function as used.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user