commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnumach] 09/56: fix implicit declarations


From: Samuel Thibault
Subject: [gnumach] 09/56: fix implicit declarations
Date: Sat, 28 Sep 2013 12:43:12 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository gnumach.

commit eb83a43f746c3acbaa908383cdc5822b073ac250
Author: Marin Ramesa <address@hidden>
Date:   Sat Jul 6 22:21:35 2013 +0200

    fix implicit declarations
    
    * ddb/db_trap.c: Include <machine/setjmp.h>.
    * i386/i386/setjmp.h (_setjmp): Add prototype.
---
 ddb/db_trap.c      |    1 +
 i386/i386/setjmp.h |    2 ++
 2 files changed, 3 insertions(+)

diff --git a/ddb/db_trap.c b/ddb/db_trap.c
index 395a9b5..8f59a36 100644
--- a/ddb/db_trap.c
+++ b/ddb/db_trap.c
@@ -35,6 +35,7 @@
  */
 #include <mach/boolean.h>
 #include <machine/db_machdep.h>
+#include <machine/setjmp.h>
 #include <ddb/db_command.h>
 #include <ddb/db_access.h>
 #include <ddb/db_break.h>
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_ */

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/gnumach.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]