From a6a1052096c72660a24fead2e1e7d580ea4f8bc2 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 29 Jul 2007 00:17:25 +0100 Subject: Applied a modified version of holger's regparm patches. --- src/include/compiler.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include/compiler.h') diff --git a/src/include/compiler.h b/src/include/compiler.h index 376936d0e..b130f28fd 100644 --- a/src/include/compiler.h +++ b/src/include/compiler.h @@ -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. * -- cgit v1.2.3-55-g7522