From a17ec5cbf2caa7217a78de494ee8da031bd99692 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 17 Oct 2011 10:05:44 +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/proc01.c, psxhdrs/proc02.c, psxhdrs/proc03.c, psxhdrs/proc04.c, psxhdrs/proc05.c, psxhdrs/proc06.c, psxhdrs/proc07.c, psxhdrs/proc08.c, psxhdrs/proc09.c, psxhdrs/proc10.c, psxhdrs/proc11.c, psxhdrs/proc12.c, psxhdrs/proc13.c, psxhdrs/proc14.c: Let test() return values (avoid warnings). --- testsuites/psxtests/psxhdrs/proc11.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxhdrs/proc11.c') diff --git a/testsuites/psxtests/psxhdrs/proc11.c b/testsuites/psxtests/psxhdrs/proc11.c index 736f790aed..c25bcc4d5d 100644 --- a/testsuites/psxtests/psxhdrs/proc11.c +++ b/testsuites/psxtests/psxhdrs/proc11.c @@ -20,12 +20,14 @@ #include #include /* for LOGIN_NAME_MAX */ -void test( void ); +int test( void ); -void test( void ) +int test( void ) { char loginnamebuffer[ LOGIN_NAME_MAX ]; int result; result = getlogin_r( loginnamebuffer, LOGIN_NAME_MAX ); + + return result; } -- cgit v1.2.3