diff options
author | Marin Ramesa <marin.ramesa@gmail.com> | 2013-07-06 22:21:35 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-07-07 19:09:55 +0200 |
commit | eb83a43f746c3acbaa908383cdc5822b073ac250 (patch) | |
tree | 6c96818baa42dc98f58e15abb666e026fea8cdf9 /i386 | |
parent | 0fa7401d334a7771d5c064572083e389b695a54b (diff) |
fix implicit declarations
* ddb/db_trap.c: Include <machine/setjmp.h>.
* i386/i386/setjmp.h (_setjmp): Add prototype.
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386/setjmp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/i386/i386/setjmp.h b/i386/i386/setjmp.h index 21c856d..162217a 100644 --- a/i386/i386/setjmp.h +++ b/i386/i386/setjmp.h @@ -33,4 +33,6 @@ typedef struct jmp_buf { int jmp_buf[6]; /* ebx, esi, edi, ebp, esp, eip */ } jmp_buf_t; +extern int _setjmp(jmp_buf_t*); + #endif /* _I386_SETJMP_H_ */ |