summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:54:05 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 06:40:26 +0900
commit4360c7b7b58bc364a8521687a727ec136d00c770 (patch)
tree64fb5f0b6372b25e4096bc041c5fadba34384bb3
parent352e6c98625a080618a65001d29fa628737bd4d5 (diff)
kern/syscall_subr.c: remove forward declaration
* kern/syscall_subr.c (thread_depress_priority): Remove forward declaration. * kern/syscall_subr.h (thread_depress_priority): Add prototype.
-rw-r--r--kern/syscall_subr.c3
-rw-r--r--kern/syscall_subr.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/kern/syscall_subr.c b/kern/syscall_subr.c
index 77ea822..ed153ad 100644
--- a/kern/syscall_subr.c
+++ b/kern/syscall_subr.c
@@ -63,9 +63,6 @@
* returned, the thread should make one more check on the
* lock and then be a good citizen and really suspend.
*/
-
-void thread_depress_priority(thread_t, mach_msg_timeout_t);
-
void swtch_continue(void)
{
processor_t myprocessor;
diff --git a/kern/syscall_subr.h b/kern/syscall_subr.h
index a2e3920..b6b61ab 100644
--- a/kern/syscall_subr.h
+++ b/kern/syscall_subr.h
@@ -37,5 +37,6 @@ extern int thread_switch(mach_port_t, int, mach_msg_timeout_t);
extern void thread_depress_timeout(thread_t);
extern kern_return_t thread_depress_abort(thread_t);
extern void mach_print(const char *);
+extern void thread_depress_priority(thread_t thread, mach_msg_timeout_t depress_time);
#endif /* _KERN_SYSCALL_SUBR_H_ */