[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 02/66] i386/i386/setjmp.h: remove ifdef
From: |
Marin Ramesa |
Subject: |
[PATCH 02/66] i386/i386/setjmp.h: remove ifdef |
Date: |
Thu, 5 Dec 2013 22:02:56 +0100 |
Function _longjmp() is used even if __GNUC__ is not defined. Avoid
implicit declaration in that case by removing the ifdef.
* i386/i386/setjmp.h [__GNUC__] (_longjmp): Remove ifdef.
---
i386/i386/setjmp.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/i386/i386/setjmp.h b/i386/i386/setjmp.h
index 5c43d40..80f0f5f 100644
--- a/i386/i386/setjmp.h
+++ b/i386/i386/setjmp.h
@@ -35,8 +35,6 @@ typedef struct jmp_buf {
extern int _setjmp(jmp_buf_t*);
-#ifdef __GNUC__
extern void _longjmp(jmp_buf_t*, int);
-#endif
#endif /* _I386_SETJMP_H_ */
--
1.8.1.4
- [PATCH 01/66] kern/machine.c: remove __volatile__, Marin Ramesa, 2013/12/05
- [PATCH 04/66] ddb/db_command.c: remove forward declaration, Marin Ramesa, 2013/12/05
- [PATCH 05/66] ddb/db_command.h: remove duplicate variable declaration, Marin Ramesa, 2013/12/05
- [PATCH 07/66] ddb/db_output.c: remove duplicate function, Marin Ramesa, 2013/12/05
- [PATCH 06/66] ddb/db_output.c: remove call to nonexistent db_printf_enter(), Marin Ramesa, 2013/12/05
- [PATCH 08/66] ddb/db_output.h: add comment, Marin Ramesa, 2013/12/05
- [PATCH 09/66] device/blkio.c: remove function, Marin Ramesa, 2013/12/05