summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxtimer
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-05-29 19:07:59 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-05-29 19:07:59 +0000
commit7b64b25b1940813e7252f394d4ac2f720abc1208 (patch)
tree0e05e632506a20b5b8ff970790b238a224f0ac7c /testsuites/psxtests/psxtimer
parent2003-05-29 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-7b64b25b1940813e7252f394d4ac2f720abc1208.tar.bz2
2003-05-29 Joel Sherrill <joel@OARcorp.com>
* psx02/init.c, psx04/init.c, psx13/test.c, psxchroot01/test.c, psxhdrs/pthread07.c, psxmsgq01/init.c, psxreaddir/test.c, psxtimer/psxtimer.c: Removed warnings.
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 */