summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/proc11.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/proc11.c')
-rw-r--r--testsuites/psxtests/psxhdrs/proc11.c6
1 files changed, 4 insertions, 2 deletions
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 <unistd.h>
#include <limits.h> /* 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;
}