diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-15 05:31:26 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-15 05:31:26 +0000 |
commit | 003999c44ddbb06bcdf342b93b5ff824b2fa75b3 (patch) | |
tree | d813189822c9a4c6e89bb5130711c3e6c1354399 /testsuites/psxtests/psxhdrs/clock04.c | |
parent | 2011-10-13 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-003999c44ddbb06bcdf342b93b5ff824b2fa75b3.tar.bz2 |
2011-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/clock01.c, psxhdrs/clock02.c, psxhdrs/clock03.c,
psxhdrs/clock04.c, psxhdrs/clock05.c, psxhdrs/clock06.c:
Let test() return values (avoid warnings).
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/psxhdrs/clock04.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/clock04.c b/testsuites/psxtests/psxhdrs/clock04.c index 9847a030d8..4808795320 100644 --- a/testsuites/psxtests/psxhdrs/clock04.c +++ b/testsuites/psxtests/psxhdrs/clock04.c @@ -22,13 +22,15 @@ #error "rtems is supposed to have clock_getcpuclockid" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pid_t pid = 0; clockid_t clock_id; int result; result = clock_getcpuclockid( pid, &clock_id ); + + return result; } |