From 61f523520d663b541f773243514561e847d1ad01 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Fri, 29 Nov 2013 22:53:47 +0100 Subject: kern/exception.c: remove forward declarations * i386/i386/trap.h (thread_kdb_return): Add prototype. * kern/exception.c (thread_kdb_return, db_printf): Remove forward declarations. Include machine/trap.h. Include ddb/db_output.h. --- i386/i386/trap.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'i386') diff --git a/i386/i386/trap.h b/i386/i386/trap.h index 6f5d2af..46612db 100644 --- a/i386/i386/trap.h +++ b/i386/i386/trap.h @@ -42,6 +42,9 @@ i386_exception( int code, int subcode) __attribute__ ((noreturn)); +extern void +thread_kdb_return(void); + #endif /* !__ASSEMBLER__ */ #endif /* _I386_TRAP_H_ */ -- cgit v1.2.3