summaryrefslogtreecommitdiff
path: root/kern/machine.h
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-16 23:55:18 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-17 19:05:05 +0100
commit13a3d2472961902e809bb90fc5adc6b7696f7db5 (patch)
tree4557759cdc799e9774442e82cee9bd39eafaf514 /kern/machine.h
parent5a5ec187ae6cb2afc874ad9ef118ef634e9164c8 (diff)
Mark functions that don't return with attribute noreturn
Diffstat (limited to 'kern/machine.h')
-rw-r--r--kern/machine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/machine.h b/kern/machine.h
index af2b7e9..c67213a 100644
--- a/kern/machine.h
+++ b/kern/machine.h
@@ -53,6 +53,6 @@ extern kern_return_t processor_shutdown (processor_t);
/*
* action_thread() shuts down processors or changes their assignment.
*/
-extern void action_thread_continue (void);
+extern void action_thread_continue (void) __attribute__((noreturn));
#endif /* _MACHINE_H_ */