bug-hurd
[Top][All Lists]
Advanced

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

[PATCH 03/19] Fix call of function with qualified void return type


From: Marin Ramesa
Subject: [PATCH 03/19] Fix call of function with qualified void return type
Date: Wed, 20 Nov 2013 13:53:45 +0100

* ddb/db_command.c [DB_MACHINE_COMMANDS]: Add comment after endif.
* i386/i386/setjmp.h (_longjmp): Comment out __volatile__.

---
 ddb/db_command.c   | 2 +-
 i386/i386/setjmp.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ddb/db_command.c b/ddb/db_command.c
index 6cca94b..1299cfa 100644
--- a/ddb/db_command.c
+++ b/ddb/db_command.c
@@ -383,7 +383,7 @@ struct db_command *ptr;
   return;
 }
 
-#endif
+#endif /* DB_MACHINE_COMMANDS */
 
 
 struct db_command      *db_last_command = 0;
diff --git a/i386/i386/setjmp.h b/i386/i386/setjmp.h
index 667eecf..08626e3 100644
--- a/i386/i386/setjmp.h
+++ b/i386/i386/setjmp.h
@@ -36,7 +36,7 @@ typedef       struct jmp_buf {
 extern int _setjmp(jmp_buf_t*);
 
 #ifdef __GNUC__
-extern __volatile__ void _longjmp(jmp_buf_t*, int);
+extern /*__volatile__*/ 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]