summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/proc06.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/proc06.c')
-rw-r--r--testsuites/psxtests/psxhdrs/proc06.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/proc06.c b/testsuites/psxtests/psxhdrs/proc06.c
index 8b037e47a2..9872a27610 100644
--- a/testsuites/psxtests/psxhdrs/proc06.c
+++ b/testsuites/psxtests/psxhdrs/proc06.c
@@ -19,11 +19,13 @@
#include <unistd.h>
#include <sys/types.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
gid_t gid;
gid = getegid();
+
+ return gid;
}