diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-17 11:36:23 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-17 11:36:23 +0000 |
commit | 9620b6189f44e64c7ba089c49c191b1310aab0db (patch) | |
tree | ed445890266d11fbfbd66e960fed45e45bd06eb2 /testsuites/psxtests/psxhdrs/cond09.c | |
parent | 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-9620b6189f44e64c7ba089c49c191b1310aab0db.tar.bz2 |
2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/cond01.c, psxhdrs/cond02.c, psxhdrs/cond03.c,
psxhdrs/cond04.c, psxhdrs/cond05.c, psxhdrs/cond06.c,
psxhdrs/cond07.c, psxhdrs/cond08.c, psxhdrs/cond09.c,
psxhdrs/cond10.c: Let test() return values (avoid warnings).
Diffstat (limited to 'testsuites/psxtests/psxhdrs/cond09.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/cond09.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/cond09.c b/testsuites/psxtests/psxhdrs/cond09.c index 688cb93daa..380af38d07 100644 --- a/testsuites/psxtests/psxhdrs/cond09.c +++ b/testsuites/psxtests/psxhdrs/cond09.c @@ -25,9 +25,9 @@ #error "rtems is supposed to have pthread_condattr_setpshared" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pthread_condattr_t attribute; int pshared; @@ -37,4 +37,6 @@ void test( void ) pshared = PTHREAD_PROCESS_PRIVATE; result = pthread_condattr_setpshared( &attribute, pshared ); + + return result; } |