Module: xenomai-2.6 Branch: master Commit: bb1dcbdd7b3776663028fa0a3e50114bdba4e7bc URL: http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=bb1dcbdd7b3776663028fa0a3e50114bdba4e7bc
Author: Philippe Gerum <r...@xenomai.org> Date: Tue Dec 25 17:58:28 2012 +0100 testsuite/sched-tp: fix build warnings --- src/testsuite/unit/sched-tp.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/testsuite/unit/sched-tp.c b/src/testsuite/unit/sched-tp.c index db94991..51e79cd 100644 --- a/src/testsuite/unit/sched-tp.c +++ b/src/testsuite/unit/sched-tp.c @@ -22,7 +22,7 @@ pthread_t threadA, threadB, threadC; sem_t barrier; -void *thread_body(void *arg) +static void *thread_body(void *arg) { pthread_t me = pthread_self(); struct sched_param_ex param; @@ -46,9 +46,11 @@ void *thread_body(void *arg) ts.tv_nsec = 10000000; clock_nanosleep(CLOCK_MONOTONIC, 0, &ts, NULL); } + + return NULL; } -void cleanup(int sig) +static void cleanup(int sig) { pthread_cancel(threadC); pthread_cancel(threadB); _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git