Browse Source

[libc] Mark setjmp and longjmp as __cdecl

tags/v0.9.4
Daniel Verkamp 16 years ago
parent
commit
179fa70d34
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/arch/i386/include/setjmp.h

+ 2
- 2
src/arch/i386/include/setjmp.h View File

6
 #define JBLEN 6
6
 #define JBLEN 6
7
 typedef unsigned long jmp_buf[JBLEN];
7
 typedef unsigned long jmp_buf[JBLEN];
8
 
8
 
9
-extern int setjmp (jmp_buf env);
10
-extern void longjmp (jmp_buf env, int val);
9
+extern int __cdecl setjmp (jmp_buf env);
10
+extern void __cdecl longjmp (jmp_buf env, int val);
11
 
11
 
12
 #endif /* ETHERBOOT_SETJMP_H */
12
 #endif /* ETHERBOOT_SETJMP_H */

Loading…
Cancel
Save