summaryrefslogtreecommitdiff
path: root/src/common/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/thread.h')
-rw-r--r--src/common/thread.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/thread.h b/src/common/thread.h
index f781cfbd0..c7582366d 100644
--- a/src/common/thread.h
+++ b/src/common/thread.h
@@ -58,7 +58,7 @@ void rathread_destroy(rAthread *handle);
*
* @return not NULL if success
*/
-rAthread *rathread_self();
+rAthread *rathread_self(void);
/**
@@ -69,7 +69,7 @@ rAthread *rathread_self();
*
* @return -1 when fails, otherwise >= 0
*/
-int rathread_get_tid();
+int rathread_get_tid(void);
/**
@@ -107,12 +107,12 @@ RATHREAD_PRIO rathread_prio_get(rAthread *handle);
* it just allows the OS to spent the remaining time
* of the slice to another thread.
*/
-void rathread_yield();
+void rathread_yield(void);
-void rathread_init();
-void rathread_final();
+void rathread_init(void);
+void rathread_final(void);
#endif /* COMMON_THREAD_H */