On 04.07.2013 23:11:19, Samuel Thibault wrote: > Please rather put it into a .h file.
Here's the patch:
* ddb/db_command.h (_setjmp): Add prototype. * kern/xpr.h (_setjmp): Add prototype.
=46rom b5f866f80206845700c242f5005495ca20e57206 Mon Sep 17 00:00:00 2001 From: Marin Ramesa <marin.ram...@gmail.com> Date: Fri, 5 Jul 2013 08:09:32 +0200 Subject: [PATCH] Fix implicit declarations. --- ddb/db_command.h | 2 ++ kern/xpr.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ddb/db_command.h b/ddb/db_command.h index 1c0d106..68867a7 100644 --- a/ddb/db_command.h +++ b/ddb/db_command.h @@ -68,4 +68,6 @@ struct db_command { extern boolean_t db_exec_cmd_nest(char *cmd, int size); +extern int _setjmp(); + #endif /* MACH_KDB */ diff --git a/kern/xpr.h b/kern/xpr.h index 4a06216..60f3ab7 100644 --- a/kern/xpr.h +++ b/kern/xpr.h @@ -94,4 +94,6 @@ extern void xpr_dump(struct xprbuf *, int); extern void xprinit(void); extern void xprbootstrap(void); +extern int _setjmp(); + #endif /* _KERN_XPR_H_ */ -- 1.8.1.4