aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/threads.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/threads.h')
-rw-r--r--src/include/threads.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/threads.h b/src/include/threads.h
index 3c279bf3c..29ed7f21f 100644
--- a/src/include/threads.h
+++ b/src/include/threads.h
@@ -172,7 +172,7 @@ extern "C" {
Thread *chThdCreateFromMemoryPool(MemoryPool *mp, tprio_t prio,
tfunc_t pf, void *arg);
#endif
- void chThdSetPriority(tprio_t newprio);
+ tprio_t chThdSetPriority(tprio_t newprio);
Thread *chThdResume(Thread *tp);
void chThdTerminate(Thread *tp);
void chThdSleep(systime_t time);