mirror of
https://github.com/ipxe/ipxe
synced 2025-12-17 10:01:03 +03:00
[i386] Rename __cdecl to __asmcall
__cdecl is a misleading name, since it currently encapsulates both cdecl and regparm(0) attributes. Rename to __asmcall.
This commit is contained in:
@@ -302,9 +302,6 @@ int __debug_disable;
|
||||
/** 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 pure - i.e. without side effects
|
||||
*/
|
||||
@@ -372,4 +369,6 @@ int __debug_disable;
|
||||
|
||||
#endif /* ASSEMBLY */
|
||||
|
||||
#include <bits/compiler.h>
|
||||
|
||||
#endif /* COMPILER_H */
|
||||
|
||||
Reference in New Issue
Block a user