summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/proc03.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/proc03.c')
-rw-r--r--testsuites/psxtests/psxhdrs/proc03.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/proc03.c b/testsuites/psxtests/psxhdrs/proc03.c
index 90e743b152..0cc9660666 100644
--- a/testsuites/psxtests/psxhdrs/proc03.c
+++ b/testsuites/psxtests/psxhdrs/proc03.c
@@ -19,11 +19,13 @@
#include <unistd.h>
#include <sys/types.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
uid_t uid;
uid = getuid();
+
+ return uid;
}