Applied a modified version of holger's regparm patches.

This commit is contained in:
Michael Brown
2007-07-29 00:17:25 +01:00
parent e3484e26eb
commit a6a1052096
6 changed files with 20 additions and 5 deletions

View File

@@ -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.
*