summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxid01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxid01/init.c')
-rw-r--r--testsuites/psxtests/psxid01/init.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/testsuites/psxtests/psxid01/init.c b/testsuites/psxtests/psxid01/init.c
index 416907c0fe..829732bef9 100644
--- a/testsuites/psxtests/psxid01/init.c
+++ b/testsuites/psxtests/psxid01/init.c
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 1989-2010.
+ * COPYRIGHT (c) 1989-2012.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,13 @@
#include <errno.h>
#include <sys/types.h>
+/* forward declarations to avoid warnings */
+rtems_task Init(rtems_task_argument argument);
+void test_gid(void);
+void test_uid(void);
+void test_pid(void);
+void test_getlogin(void);
+
void test_gid(void)
{
gid_t gid;
@@ -125,8 +132,6 @@ void test_getlogin(void)
puts( "getlogin_r(buffer, 0) -- ERANGE" );
sc = getlogin_r( &ch, 0 );
rtems_test_assert( sc == ERANGE );
-
-
}
rtems_task Init(