Parcourir la source

[libc] Mark setjmp and longjmp as __cdecl

tags/v0.9.4
Daniel Verkamp il y a 16 ans
Parent
révision
179fa70d34
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      src/arch/i386/include/setjmp.h

+ 2
- 2
src/arch/i386/include/setjmp.h Voir le fichier

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 */

Chargement…
Annuler
Enregistrer