summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-07-10 13:32:32 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-07-18 00:06:44 +0200
commit37a5965ed210cb0672ceae8292393a678a144415 (patch)
tree60e3d925ee184bab6774f1c8eaf356886cfcd142 /i386
parenteb83a43f746c3acbaa908383cdc5822b073ac250 (diff)
ddb: cleanup db_command.c
* ddb/db_command.c (_longjmp): Remove prototype. (vm_map_print): Likewise. (vm_object_print): Likewise. (vm_page_print): Likewise. (vm_map_copy_print): Likewise. (ipc_port_print): Likewise. (ipc_pset_print): Likewise. (db_show_all_slocks): Likewise. (ipc_kmsg_print): Likewise. (ipc_msg_print): Likewise. Include <vm/vm_print.h>. Include <ipc/ipc_print.h>. Include <kern/lock.h>. * i386/i386/setjmp.h [__GNUC__] (_longjmp): Add prototype.
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/setjmp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/i386/i386/setjmp.h b/i386/i386/setjmp.h
index 162217a..667eecf 100644
--- a/i386/i386/setjmp.h
+++ b/i386/i386/setjmp.h
@@ -35,4 +35,8 @@ typedef struct jmp_buf {
extern int _setjmp(jmp_buf_t*);
+#ifdef __GNUC__
+extern __volatile__ void _longjmp(jmp_buf_t*, int);
+#endif
+
#endif /* _I386_SETJMP_H_ */