summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxtimer/psxtimer.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psxtimer/psxtimer.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxtimer/psxtimer.c b/testsuites/psxtests/psxtimer/psxtimer.c
index 3d6bb3eb36..5430db51ab 100644
--- a/testsuites/psxtests/psxtimer/psxtimer.c
+++ b/testsuites/psxtests/psxtimer/psxtimer.c
@@ -95,7 +95,8 @@ void * task_a (void *arg)
clock = time(NULL);
printf("Executing task A %s", ctime(&clock));
}
- }
+ return NULL;
+}
/* task B */
@@ -152,6 +153,7 @@ void * task_b (void *arg)
pthread_mutex_unlock (&data.mutex);
x++;
}
+ return NULL;
}
/* task C */
@@ -209,7 +211,8 @@ void * task_c (void *arg)
printf("Executing task C with x = %i %s", x, ctime(&clock));
pthread_mutex_unlock (&data.mutex);
}
- }
+ return NULL;
+}
/* main */