summaryrefslogtreecommitdiffstats
path: root/src/include/compiler.h
diff options
context:
space:
mode:
authorHolger Lubitz2007-08-02 00:13:40 +0200
committerHolger Lubitz2007-08-02 00:13:40 +0200
commit58f5565eb04f08c51b4f123930294c3d033e3a8e (patch)
tree6df9ba9712544bad49f991006471f7e6c6511f84 /src/include/compiler.h
parentmake bcopy use memmove (diff)
parentInitrd concatenation now working (diff)
downloadipxe-58f5565eb04f08c51b4f123930294c3d033e3a8e.tar.gz
ipxe-58f5565eb04f08c51b4f123930294c3d033e3a8e.tar.xz
ipxe-58f5565eb04f08c51b4f123930294c3d033e3a8e.zip
Merge branch 'master' into strings
Diffstat (limited to 'src/include/compiler.h')
-rw-r--r--src/include/compiler.h3
1 files changed, 3 insertions, 0 deletions
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.
*