summaryrefslogtreecommitdiffstats
path: root/src/include/stdlib.h
diff options
context:
space:
mode:
authorMichael Brown2008-11-19 01:18:32 +0100
committerMichael Brown2008-11-19 20:12:53 +0100
commitdc60c2414658f27b88f212bba8a36180ab8657fb (patch)
treed4ad6d883d3fe6d4f7dfb9f75786f2815537d7dd /src/include/stdlib.h
parent[pxe] Move all PXE files to arch/i386 (diff)
downloadipxe-dc60c2414658f27b88f212bba8a36180ab8657fb.tar.gz
ipxe-dc60c2414658f27b88f212bba8a36180ab8657fb.tar.xz
ipxe-dc60c2414658f27b88f212bba8a36180ab8657fb.zip
[i386] Rename __cdecl to __asmcall
__cdecl is a misleading name, since it currently encapsulates both cdecl and regparm(0) attributes. Rename to __asmcall.
Diffstat (limited to 'src/include/stdlib.h')
-rw-r--r--src/include/stdlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/stdlib.h b/src/include/stdlib.h
index f3dc7e41..838a22ac 100644
--- a/src/include/stdlib.h
+++ b/src/include/stdlib.h
@@ -68,6 +68,6 @@ static inline void srand ( unsigned int seed ) {
*/
extern int system ( const char *command );
-extern __cdecl int main ( void );
+extern __asmcall int main ( void );
#endif /* STDLIB_H */