From 9620b6189f44e64c7ba089c49c191b1310aab0db Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 17 Oct 2011 11:36:23 +0000 Subject: =?UTF-8?q?2011-10-17=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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). --- testsuites/psxtests/psxhdrs/cond05.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxhdrs/cond05.c') diff --git a/testsuites/psxtests/psxhdrs/cond05.c b/testsuites/psxtests/psxhdrs/cond05.c index d5d5fe7e3a..29d55184ed 100644 --- a/testsuites/psxtests/psxhdrs/cond05.c +++ b/testsuites/psxtests/psxhdrs/cond05.c @@ -22,12 +22,14 @@ #error "rtems is supposed to have pthread_cond_signal" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pthread_cond_t cond = PTHREAD_COND_INITIALIZER; int result; result = pthread_cond_signal( &cond ); + + return result; } -- cgit v1.2.3