bug-hurd
[Top][All Lists]
Advanced

[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




reply via email to

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