summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2006-11-09 23:45:44 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:53 +0200
commit43060dd8187ac5261dc325ee93c7d491b6478f66 (patch)
tree91076cb84bb24f1172b64c1070c190f547bb59b6
parentd1ee506ebd11d305e5384ea0edf072d8076b4eac (diff)
2006-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* kern/sched_prim.h (thread_syscall_return): Replace old `volatile' function qualifier with __attribute__((__noreturn__)).
-rw-r--r--ChangeLog5
-rw-r--r--kern/sched_prim.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8815e65..09ea854 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * kern/sched_prim.h (thread_syscall_return): Replace old `volatile'
+ function qualifier with __attribute__((__noreturn__)).
+
2006-11-09 Barry deFreese <bddebian@comcast.net>
[task #5726 --- ``GCC built-in functions'']
diff --git a/kern/sched_prim.h b/kern/sched_prim.h
index ef89514..6a4c32d 100644
--- a/kern/sched_prim.h
+++ b/kern/sched_prim.h
@@ -123,7 +123,7 @@ extern void recompute_priorities();
extern void thread_bootstrap_return(void);
extern void thread_exception_return(void);
#ifdef __GNUC__
-extern void __volatile__ thread_syscall_return(kern_return_t);
+extern void __attribute__((__noreturn__)) thread_syscall_return(kern_return_t);
#else
extern void thread_syscall_return(kern_return_t);
#endif