diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-16 23:55:18 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-17 19:05:05 +0100 |
commit | 13a3d2472961902e809bb90fc5adc6b7696f7db5 (patch) | |
tree | 4557759cdc799e9774442e82cee9bd39eafaf514 /kern/thread_swap.c | |
parent | 5a5ec187ae6cb2afc874ad9ef118ef634e9164c8 (diff) | |
download | gnumach-13a3d2472961902e809bb90fc5adc6b7696f7db5.tar.gz gnumach-13a3d2472961902e809bb90fc5adc6b7696f7db5.tar.bz2 gnumach-13a3d2472961902e809bb90fc5adc6b7696f7db5.zip |
Mark functions that don't return with attribute noreturn
Diffstat (limited to 'kern/thread_swap.c')
-rw-r--r-- | kern/thread_swap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/thread_swap.c b/kern/thread_swap.c index e76511e6..94e5c218 100644 --- a/kern/thread_swap.c +++ b/kern/thread_swap.c @@ -154,7 +154,7 @@ void thread_doswapin(thread) * This procedure executes as a kernel thread. Threads that need to * be swapped in are swapped in by this thread. */ -void swapin_thread_continue(void) +void __attribute__((noreturn)) swapin_thread_continue(void) { for (;;) { thread_t thread; |