summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-10 20:15:57 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-10 20:15:57 +0000
commit7a9030a079af619efa7dff05263b25e0c0ae815d (patch)
tree9b7e5a2319707488963fccf8881fb89ad4d75fad /testsuites/psxtests/psxhdrs
parent2009-05-10 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-7a9030a079af619efa7dff05263b25e0c0ae815d.tar.bz2
2009-05-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxhdrs/clock01.c, psxhdrs/clock02.c, psxhdrs/clock03.c, psxhdrs/clock04.c, psxhdrs/clock05.c, psxhdrs/clock06.c, psxhdrs/cond01.c, psxhdrs/cond02.c, psxhdrs/cond03.c, psxhdrs/cond04.c, psxhdrs/cond05.c, psxhdrs/cond06.c, psxhdrs/cond07.c, psxhdrs/cond08.c, psxhdrs/cond09.c, psxhdrs/cond10.c, psxhdrs/key01.c, psxhdrs/key02.c, psxhdrs/key03.c, psxhdrs/key04.c, psxhdrs/mutex01.c, psxhdrs/mutex02.c, psxhdrs/mutex03.c, psxhdrs/mutex04.c, psxhdrs/mutex05.c, psxhdrs/mutex06.c, psxhdrs/mutex07.c, psxhdrs/mutex08.c, psxhdrs/mutex09.c, psxhdrs/mutex10.c, psxhdrs/mutex11.c, psxhdrs/mutex12.c, psxhdrs/mutex13.c, psxhdrs/mutex14.c, psxhdrs/mutex15.c, psxhdrs/mutex16.c, 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, psxhdrs/pthread01.c, psxhdrs/pthread02.c, psxhdrs/pthread03.c, psxhdrs/pthread04.c, psxhdrs/pthread05.c, psxhdrs/pthread06.c, psxhdrs/pthread07.c, psxhdrs/pthread08.c, psxhdrs/pthread09.c, psxhdrs/pthread10.c, psxhdrs/pthread11.c, psxhdrs/pthread12.c, psxhdrs/pthread13.c, psxhdrs/pthread14.c, psxhdrs/pthread15.c, psxhdrs/pthread16.c, psxhdrs/pthread17.c, psxhdrs/pthread18.c, psxhdrs/pthread19.c, psxhdrs/pthread20.c, psxhdrs/pthread21.c, psxhdrs/pthread22.c, psxhdrs/pthread23.c, psxhdrs/pthread24.c, psxhdrs/pthread25.c, psxhdrs/pthread26.c, psxhdrs/pthread27.c, psxhdrs/pthread28.c, psxhdrs/pthread29.c, psxhdrs/pthread30.c, psxhdrs/pthread31.c, psxhdrs/pthread32.c, psxhdrs/pthread33.c, psxhdrs/pthread34.c, psxhdrs/pthread35.c, psxhdrs/pthread36.c, psxhdrs/sched01.c, psxhdrs/sched02.c, psxhdrs/sched03.c, psxhdrs/sched04.c, psxhdrs/sched05.c, psxhdrs/sched06.c, psxhdrs/sched07.c, psxhdrs/sched08.c, psxhdrs/signal01.c, psxhdrs/signal02.c, psxhdrs/signal03.c, psxhdrs/signal04.c, psxhdrs/signal05.c, psxhdrs/signal06.c, psxhdrs/signal07.c, psxhdrs/signal08.c, psxhdrs/signal09.c, psxhdrs/signal10.c, psxhdrs/signal11.c, psxhdrs/signal12.c, psxhdrs/signal13.c, psxhdrs/signal14.c, psxhdrs/signal15.c, psxhdrs/signal16.c, psxhdrs/signal17.c, psxhdrs/signal18.c, psxhdrs/signal19.c, psxhdrs/signal20.c, psxhdrs/signal21.c, psxhdrs/signal22.c, psxhdrs/signal23.c, psxhdrs/sync01.c, psxhdrs/sync02.c, psxhdrs/sync03.c, psxhdrs/time01.c, psxhdrs/time02.c, psxhdrs/time03.c, psxhdrs/time04.c, psxhdrs/time05.c, psxhdrs/time06.c, psxhdrs/time07.c, psxhdrs/time08.c, psxhdrs/time09.c, psxhdrs/time10.c, psxhdrs/time11.c, psxhdrs/time12.c, psxhdrs/time13.c, psxhdrs/timer01.c, psxhdrs/timer02.c, psxhdrs/timer03.c, psxhdrs/timer04.c, psxhdrs/timer05.c, psxhdrs/timer06.c, psxhdrs/timer07.c: Fix warnings.
Diffstat (limited to 'testsuites/psxtests/psxhdrs')
-rw-r--r--testsuites/psxtests/psxhdrs/clock01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/clock02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/clock03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/clock04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/clock05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/clock06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond07.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond08.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond09.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond10.c4
-rw-r--r--testsuites/psxtests/psxhdrs/key01.c5
-rw-r--r--testsuites/psxtests/psxhdrs/key02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/key03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/key04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex07.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex08.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex09.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex10.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex11.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex12.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex13.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex14.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex15.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex16.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc07.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc08.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc09.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc10.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc11.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc12.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc13.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc14.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread07.c5
-rw-r--r--testsuites/psxtests/psxhdrs/pthread08.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread09.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread10.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread11.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread12.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread13.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread14.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread15.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread16.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread17.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread18.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread19.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread20.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread21.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread22.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread23.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread24.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread25.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread26.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread27.c5
-rw-r--r--testsuites/psxtests/psxhdrs/pthread28.c5
-rw-r--r--testsuites/psxtests/psxhdrs/pthread29.c5
-rw-r--r--testsuites/psxtests/psxhdrs/pthread30.c5
-rw-r--r--testsuites/psxtests/psxhdrs/pthread31.c5
-rw-r--r--testsuites/psxtests/psxhdrs/pthread32.c5
-rw-r--r--testsuites/psxtests/psxhdrs/pthread33.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread34.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread35.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread36.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sched01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sched02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sched03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sched04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sched05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sched06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sched07.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sched08.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal07.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal08.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal09.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal10.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal11.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal12.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal13.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal14.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal15.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal16.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal17.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal18.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal19.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal20.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal21.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal22.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal23.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sync01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sync02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sync03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time07.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time08.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time09.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time10.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time11.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time12.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time13.c4
-rw-r--r--testsuites/psxtests/psxhdrs/timer01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/timer02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/timer03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/timer04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/timer05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/timer06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/timer07.c8
140 files changed, 430 insertions, 142 deletions
diff --git a/testsuites/psxtests/psxhdrs/clock01.c b/testsuites/psxtests/psxhdrs/clock01.c
index 5b0584116a..925bf0e7db 100644
--- a/testsuites/psxtests/psxhdrs/clock01.c
+++ b/testsuites/psxtests/psxhdrs/clock01.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have clock_gettime"
#endif
+void test( void );
+
void test( void )
{
clockid_t clock_id = 0;
diff --git a/testsuites/psxtests/psxhdrs/clock02.c b/testsuites/psxtests/psxhdrs/clock02.c
index aa59dadbb3..b9481ec5b3 100644
--- a/testsuites/psxtests/psxhdrs/clock02.c
+++ b/testsuites/psxtests/psxhdrs/clock02.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have clock_settime"
#endif
+void test( void );
+
void test( void )
{
clockid_t clock_id = 0;
diff --git a/testsuites/psxtests/psxhdrs/clock03.c b/testsuites/psxtests/psxhdrs/clock03.c
index 197fdf6326..71ab20b1e5 100644
--- a/testsuites/psxtests/psxhdrs/clock03.c
+++ b/testsuites/psxtests/psxhdrs/clock03.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have clock_getres"
#endif
+void test( void );
+
void test( void )
{
clockid_t clock_id = 0;
diff --git a/testsuites/psxtests/psxhdrs/clock04.c b/testsuites/psxtests/psxhdrs/clock04.c
index 2584d89b9b..3822a27ad4 100644
--- a/testsuites/psxtests/psxhdrs/clock04.c
+++ b/testsuites/psxtests/psxhdrs/clock04.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have clock_getcpuclockid"
#endif
+void test( void );
+
void test( void )
{
pid_t pid = 0;
diff --git a/testsuites/psxtests/psxhdrs/clock05.c b/testsuites/psxtests/psxhdrs/clock05.c
index 9abe84c6dd..089f788e1b 100644
--- a/testsuites/psxtests/psxhdrs/clock05.c
+++ b/testsuites/psxtests/psxhdrs/clock05.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -21,6 +21,8 @@
#error "rtems is supposed to have clock_setenable_attr"
#endif
+void test( void );
+
void test( void )
{
clockid_t clock_id = 0;
diff --git a/testsuites/psxtests/psxhdrs/clock06.c b/testsuites/psxtests/psxhdrs/clock06.c
index c0d9cfd8d5..f27be5d8f0 100644
--- a/testsuites/psxtests/psxhdrs/clock06.c
+++ b/testsuites/psxtests/psxhdrs/clock06.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -21,6 +21,8 @@
#error "rtems is supposed to have clock_getenable_attr"
#endif
+void test( void );
+
void test( void )
{
clockid_t clock_id = 0;
diff --git a/testsuites/psxtests/psxhdrs/cond01.c b/testsuites/psxtests/psxhdrs/cond01.c
index c96c8976f2..2dac96cb70 100644
--- a/testsuites/psxtests/psxhdrs/cond01.c
+++ b/testsuites/psxtests/psxhdrs/cond01.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_condattr_init"
#endif
+void test( void );
+
void test( void )
{
pthread_condattr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/cond02.c b/testsuites/psxtests/psxhdrs/cond02.c
index 42349f9bcd..8e51650143 100644
--- a/testsuites/psxtests/psxhdrs/cond02.c
+++ b/testsuites/psxtests/psxhdrs/cond02.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_condattr_destroy"
#endif
+void test( void );
+
void test( void )
{
pthread_condattr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/cond03.c b/testsuites/psxtests/psxhdrs/cond03.c
index 5147f29d43..6b8f440654 100644
--- a/testsuites/psxtests/psxhdrs/cond03.c
+++ b/testsuites/psxtests/psxhdrs/cond03.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_cond_init"
#endif
+void test( void );
+
void test( void )
{
pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
diff --git a/testsuites/psxtests/psxhdrs/cond04.c b/testsuites/psxtests/psxhdrs/cond04.c
index e87a3782c4..74147d772d 100644
--- a/testsuites/psxtests/psxhdrs/cond04.c
+++ b/testsuites/psxtests/psxhdrs/cond04.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_cond_destroy"
#endif
+void test( void );
+
void test( void )
{
pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
diff --git a/testsuites/psxtests/psxhdrs/cond05.c b/testsuites/psxtests/psxhdrs/cond05.c
index d07bdc57eb..589cd76340 100644
--- a/testsuites/psxtests/psxhdrs/cond05.c
+++ b/testsuites/psxtests/psxhdrs/cond05.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_cond_signal"
#endif
+void test( void );
+
void test( void )
{
pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
diff --git a/testsuites/psxtests/psxhdrs/cond06.c b/testsuites/psxtests/psxhdrs/cond06.c
index 944b399150..c642e33b50 100644
--- a/testsuites/psxtests/psxhdrs/cond06.c
+++ b/testsuites/psxtests/psxhdrs/cond06.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_cond_wait"
#endif
+void test( void );
+
void test( void )
{
pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
diff --git a/testsuites/psxtests/psxhdrs/cond07.c b/testsuites/psxtests/psxhdrs/cond07.c
index 080c443066..1d0580c45f 100644
--- a/testsuites/psxtests/psxhdrs/cond07.c
+++ b/testsuites/psxtests/psxhdrs/cond07.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_cond_timedwait"
#endif
+void test( void );
+
void test( void )
{
pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
diff --git a/testsuites/psxtests/psxhdrs/cond08.c b/testsuites/psxtests/psxhdrs/cond08.c
index 9ecda20359..5d611a065c 100644
--- a/testsuites/psxtests/psxhdrs/cond08.c
+++ b/testsuites/psxtests/psxhdrs/cond08.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -21,6 +21,8 @@
#error "rtems is supposed to have pthread_condattr_setpshared"
#endif
+void test( void );
+
void test( void )
{
pthread_condattr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/cond09.c b/testsuites/psxtests/psxhdrs/cond09.c
index f7edd17e5a..02b8ffa089 100644
--- a/testsuites/psxtests/psxhdrs/cond09.c
+++ b/testsuites/psxtests/psxhdrs/cond09.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -21,6 +21,8 @@
#error "rtems is supposed to have pthread_condattr_setpshared"
#endif
+void test( void );
+
void test( void )
{
pthread_condattr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/cond10.c b/testsuites/psxtests/psxhdrs/cond10.c
index 7caf4cb9f5..1ad562f642 100644
--- a/testsuites/psxtests/psxhdrs/cond10.c
+++ b/testsuites/psxtests/psxhdrs/cond10.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_cond_broadcast"
#endif
+void test( void );
+
void test( void )
{
pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
diff --git a/testsuites/psxtests/psxhdrs/key01.c b/testsuites/psxtests/psxhdrs/key01.c
index ee90eccbd2..c6cf5b9ebc 100644
--- a/testsuites/psxtests/psxhdrs/key01.c
+++ b/testsuites/psxtests/psxhdrs/key01.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,9 @@
#error "rtems is supposed to have pthread_key_create"
#endif
+void test( void );
+void key_destructor( void *argument );
+
void key_destructor(
void *argument
)
diff --git a/testsuites/psxtests/psxhdrs/key02.c b/testsuites/psxtests/psxhdrs/key02.c
index a96546f213..fef7ae9c12 100644
--- a/testsuites/psxtests/psxhdrs/key02.c
+++ b/testsuites/psxtests/psxhdrs/key02.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_setspecific"
#endif
+void test( void );
+
void test( void )
{
pthread_key_t key;
diff --git a/testsuites/psxtests/psxhdrs/key03.c b/testsuites/psxtests/psxhdrs/key03.c
index 6e099de756..ed92deb2db 100644
--- a/testsuites/psxtests/psxhdrs/key03.c
+++ b/testsuites/psxtests/psxhdrs/key03.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_getspecific"
#endif
+void test( void );
+
void test( void )
{
pthread_key_t key;
diff --git a/testsuites/psxtests/psxhdrs/key04.c b/testsuites/psxtests/psxhdrs/key04.c
index 4d6ebb52cc..6d4fb3bfba 100644
--- a/testsuites/psxtests/psxhdrs/key04.c
+++ b/testsuites/psxtests/psxhdrs/key04.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_key_delete"
#endif
+void test( void );
+
void test( void )
{
pthread_key_t key = 0;
diff --git a/testsuites/psxtests/psxhdrs/mutex01.c b/testsuites/psxtests/psxhdrs/mutex01.c
index d89fda8763..de17e31603 100644
--- a/testsuites/psxtests/psxhdrs/mutex01.c
+++ b/testsuites/psxtests/psxhdrs/mutex01.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_mutexattr_init"
#endif
+void test( void );
+
void test( void )
{
pthread_mutexattr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/mutex02.c b/testsuites/psxtests/psxhdrs/mutex02.c
index 4e73a9a8ba..78aa347cd9 100644
--- a/testsuites/psxtests/psxhdrs/mutex02.c
+++ b/testsuites/psxtests/psxhdrs/mutex02.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_mutexattr_destroy"
#endif
+void test( void );
+
void test( void )
{
pthread_mutexattr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/mutex03.c b/testsuites/psxtests/psxhdrs/mutex03.c
index 99c57a2e22..36b9af9b0a 100644
--- a/testsuites/psxtests/psxhdrs/mutex03.c
+++ b/testsuites/psxtests/psxhdrs/mutex03.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_mutex_init"
#endif
+void test( void );
+
void test( void )
{
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
diff --git a/testsuites/psxtests/psxhdrs/mutex04.c b/testsuites/psxtests/psxhdrs/mutex04.c
index 4e88ed2d51..794b807181 100644
--- a/testsuites/psxtests/psxhdrs/mutex04.c
+++ b/testsuites/psxtests/psxhdrs/mutex04.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_mutex_destroy"
#endif
+void test( void );
+
void test( void )
{
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
diff --git a/testsuites/psxtests/psxhdrs/mutex05.c b/testsuites/psxtests/psxhdrs/mutex05.c
index c7ac684a36..8d020e4a69 100644
--- a/testsuites/psxtests/psxhdrs/mutex05.c
+++ b/testsuites/psxtests/psxhdrs/mutex05.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_mutex_lock"
#endif
+void test( void );
+
void test( void )
{
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
diff --git a/testsuites/psxtests/psxhdrs/mutex06.c b/testsuites/psxtests/psxhdrs/mutex06.c
index d1e46a6858..20e3043efc 100644
--- a/testsuites/psxtests/psxhdrs/mutex06.c
+++ b/testsuites/psxtests/psxhdrs/mutex06.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_mutex_unlock"
#endif
+void test( void );
+
void test( void )
{
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
diff --git a/testsuites/psxtests/psxhdrs/mutex07.c b/testsuites/psxtests/psxhdrs/mutex07.c
index 2276ef81a6..cc7fb5b72e 100644
--- a/testsuites/psxtests/psxhdrs/mutex07.c
+++ b/testsuites/psxtests/psxhdrs/mutex07.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -21,6 +21,8 @@
#error "rtems is supposed to have pthread_mutexattr_setprotocol"
#endif
+void test( void );
+
void test( void )
{
pthread_mutexattr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/mutex08.c b/testsuites/psxtests/psxhdrs/mutex08.c
index 49c4edb4ea..bb32bcc1bf 100644
--- a/testsuites/psxtests/psxhdrs/mutex08.c
+++ b/testsuites/psxtests/psxhdrs/mutex08.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -21,6 +21,8 @@
#error "rtems is supposed to have pthread_mutexattr_getprioceiling"
#endif
+void test( void );
+
void test( void )
{
pthread_mutexattr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/mutex09.c b/testsuites/psxtests/psxhdrs/mutex09.c
index 85282a9f64..28e66d2342 100644
--- a/testsuites/psxtests/psxhdrs/mutex09.c
+++ b/testsuites/psxtests/psxhdrs/mutex09.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -21,6 +21,8 @@
#error "rtems is supposed to have pthread_mutexattr_setprioceiling"
#endif
+void test( void );
+
void test( void )
{
pthread_mutexattr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/mutex10.c b/testsuites/psxtests/psxhdrs/mutex10.c
index 51e99ade6a..1fce9c1b31 100644
--- a/testsuites/psxtests/psxhdrs/mutex10.c
+++ b/testsuites/psxtests/psxhdrs/mutex10.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -21,6 +21,8 @@
#error "rtems is supposed to have pthread_mutexattr_setpshared"
#endif
+void test( void );
+
void test( void )
{
pthread_mutexattr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/mutex11.c b/testsuites/psxtests/psxhdrs/mutex11.c
index eb6d8e5959..3a2b099027 100644
--- a/testsuites/psxtests/psxhdrs/mutex11.c
+++ b/testsuites/psxtests/psxhdrs/mutex11.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -21,6 +21,8 @@
#error "rtems is supposed to have pthread_mutexattr_setpshared"
#endif
+void test( void );
+
void test( void )
{
pthread_mutexattr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/mutex12.c b/testsuites/psxtests/psxhdrs/mutex12.c
index f48fb9deaa..a5415910dd 100644
--- a/testsuites/psxtests/psxhdrs/mutex12.c
+++ b/testsuites/psxtests/psxhdrs/mutex12.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_mutex_trylock"
#endif
+void test( void );
+
void test( void )
{
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
diff --git a/testsuites/psxtests/psxhdrs/mutex13.c b/testsuites/psxtests/psxhdrs/mutex13.c
index 15285c9ba7..73e4f96a82 100644
--- a/testsuites/psxtests/psxhdrs/mutex13.c
+++ b/testsuites/psxtests/psxhdrs/mutex13.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -21,6 +21,8 @@
#error "rtems is supposed to have pthread_mutex_timedlock"
#endif
+void test( void );
+
void test( void )
{
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
diff --git a/testsuites/psxtests/psxhdrs/mutex14.c b/testsuites/psxtests/psxhdrs/mutex14.c
index 687a981152..38e3b0274b 100644
--- a/testsuites/psxtests/psxhdrs/mutex14.c
+++ b/testsuites/psxtests/psxhdrs/mutex14.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -21,6 +21,8 @@
#error "rtems is supposed to have pthread_mutexattr_getprotocol"
#endif
+void test( void );
+
void test( void )
{
pthread_mutexattr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/mutex15.c b/testsuites/psxtests/psxhdrs/mutex15.c
index cc6a7aca9e..7306f7ad23 100644
--- a/testsuites/psxtests/psxhdrs/mutex15.c
+++ b/testsuites/psxtests/psxhdrs/mutex15.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -21,6 +21,8 @@
#error "rtems is supposed to have pthread_mutex_getprioceiling"
#endif
+void test( void );
+
void test( void )
{
pthread_mutex_t mutex;
diff --git a/testsuites/psxtests/psxhdrs/mutex16.c b/testsuites/psxtests/psxhdrs/mutex16.c
index e5140b5781..1304ccbcb7 100644
--- a/testsuites/psxtests/psxhdrs/mutex16.c
+++ b/testsuites/psxtests/psxhdrs/mutex16.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -21,6 +21,8 @@
#error "rtems is supposed to have pthread_mutex_setprioceiling"
#endif
+void test( void );
+
void test( void )
{
pthread_mutex_t mutex;
diff --git a/testsuites/psxtests/psxhdrs/proc01.c b/testsuites/psxtests/psxhdrs/proc01.c
index cda43c09e5..fb7c775793 100644
--- a/testsuites/psxtests/psxhdrs/proc01.c
+++ b/testsuites/psxtests/psxhdrs/proc01.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <sys/types.h>
+void test( void );
+
void test( void )
{
pid_t pid;
diff --git a/testsuites/psxtests/psxhdrs/proc02.c b/testsuites/psxtests/psxhdrs/proc02.c
index 78aac3f2c4..1819069a7f 100644
--- a/testsuites/psxtests/psxhdrs/proc02.c
+++ b/testsuites/psxtests/psxhdrs/proc02.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <sys/types.h>
+void test( void );
+
void test( void )
{
pid_t pid;
diff --git a/testsuites/psxtests/psxhdrs/proc03.c b/testsuites/psxtests/psxhdrs/proc03.c
index 4b6f390c13..5403077481 100644
--- a/testsuites/psxtests/psxhdrs/proc03.c
+++ b/testsuites/psxtests/psxhdrs/proc03.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -15,6 +15,8 @@
#include <unistd.h>
#include <sys/types.h>
+void test( void );
+
void test( void )
{
uid_t uid;
diff --git a/testsuites/psxtests/psxhdrs/proc04.c b/testsuites/psxtests/psxhdrs/proc04.c
index c127ebe06d..a4582cc3df 100644
--- a/testsuites/psxtests/psxhdrs/proc04.c
+++ b/testsuites/psxtests/psxhdrs/proc04.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -15,6 +15,8 @@
#include <unistd.h>
#include <sys/types.h>
+void test( void );
+
void test( void )
{
uid_t uid;
diff --git a/testsuites/psxtests/psxhdrs/proc05.c b/testsuites/psxtests/psxhdrs/proc05.c
index e3e67e19e7..7a22426091 100644
--- a/testsuites/psxtests/psxhdrs/proc05.c
+++ b/testsuites/psxtests/psxhdrs/proc05.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -15,6 +15,8 @@
#include <unistd.h>
#include <sys/types.h>
+void test( void );
+
void test( void )
{
gid_t gid;
diff --git a/testsuites/psxtests/psxhdrs/proc06.c b/testsuites/psxtests/psxhdrs/proc06.c
index 5244aab354..bf537511f5 100644
--- a/testsuites/psxtests/psxhdrs/proc06.c
+++ b/testsuites/psxtests/psxhdrs/proc06.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -15,6 +15,8 @@
#include <unistd.h>
#include <sys/types.h>
+void test( void );
+
void test( void )
{
gid_t gid;
diff --git a/testsuites/psxtests/psxhdrs/proc07.c b/testsuites/psxtests/psxhdrs/proc07.c
index 0e0577010c..824fd50c10 100644
--- a/testsuites/psxtests/psxhdrs/proc07.c
+++ b/testsuites/psxtests/psxhdrs/proc07.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <sys/types.h>
+void test( void );
+
void test( void )
{
uid_t uid;
diff --git a/testsuites/psxtests/psxhdrs/proc08.c b/testsuites/psxtests/psxhdrs/proc08.c
index f22f986bfc..a4758795d1 100644
--- a/testsuites/psxtests/psxhdrs/proc08.c
+++ b/testsuites/psxtests/psxhdrs/proc08.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <sys/types.h>
+void test( void );
+
void test( void )
{
gid_t gid;
diff --git a/testsuites/psxtests/psxhdrs/proc09.c b/testsuites/psxtests/psxhdrs/proc09.c
index 120b3e6a93..3a1dd2201c 100644
--- a/testsuites/psxtests/psxhdrs/proc09.c
+++ b/testsuites/psxtests/psxhdrs/proc09.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <sys/types.h>
+void test( void );
+
void test( void )
{
gid_t grouplist[ 20 ];
diff --git a/testsuites/psxtests/psxhdrs/proc10.c b/testsuites/psxtests/psxhdrs/proc10.c
index d9c0daaa57..b8f6e0c7f4 100644
--- a/testsuites/psxtests/psxhdrs/proc10.c
+++ b/testsuites/psxtests/psxhdrs/proc10.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <sys/types.h>
+void test( void );
+
void test( void )
{
char *loginname;
diff --git a/testsuites/psxtests/psxhdrs/proc11.c b/testsuites/psxtests/psxhdrs/proc11.c
index bac2999707..9470a2ede0 100644
--- a/testsuites/psxtests/psxhdrs/proc11.c
+++ b/testsuites/psxtests/psxhdrs/proc11.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -15,6 +15,8 @@
#include <sys/types.h>
#include <limits.h> /* for LOGIN_NAME_MAX */
+void test( void );
+
void test( void )
{
char loginnamebuffer[ LOGIN_NAME_MAX ];
diff --git a/testsuites/psxtests/psxhdrs/proc12.c b/testsuites/psxtests/psxhdrs/proc12.c
index 7a246acfd4..0fb5173efb 100644
--- a/testsuites/psxtests/psxhdrs/proc12.c
+++ b/testsuites/psxtests/psxhdrs/proc12.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <sys/types.h>
+void test( void );
+
void test( void )
{
pid_t pgrp;
diff --git a/testsuites/psxtests/psxhdrs/proc13.c b/testsuites/psxtests/psxhdrs/proc13.c
index 989f241f51..cfea360d25 100644
--- a/testsuites/psxtests/psxhdrs/proc13.c
+++ b/testsuites/psxtests/psxhdrs/proc13.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <sys/types.h>
+void test( void );
+
void test( void )
{
pid_t pid;
diff --git a/testsuites/psxtests/psxhdrs/proc14.c b/testsuites/psxtests/psxhdrs/proc14.c
index 88e9d7a05c..d643bcb65f 100644
--- a/testsuites/psxtests/psxhdrs/proc14.c
+++ b/testsuites/psxtests/psxhdrs/proc14.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <sys/types.h>
+void test( void );
+
void test( void )
{
pid_t pid = 0;
diff --git a/testsuites/psxtests/psxhdrs/pthread01.c b/testsuites/psxtests/psxhdrs/pthread01.c
index 181469a2fa..d1a23352ba 100644
--- a/testsuites/psxtests/psxhdrs/pthread01.c
+++ b/testsuites/psxtests/psxhdrs/pthread01.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_attr_init"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/pthread02.c b/testsuites/psxtests/psxhdrs/pthread02.c
index 4cb7692868..7ea6c82a8f 100644
--- a/testsuites/psxtests/psxhdrs/pthread02.c
+++ b/testsuites/psxtests/psxhdrs/pthread02.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_attr_destroy"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/pthread03.c b/testsuites/psxtests/psxhdrs/pthread03.c
index b42371bb92..7159aa23f8 100644
--- a/testsuites/psxtests/psxhdrs/pthread03.c
+++ b/testsuites/psxtests/psxhdrs/pthread03.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_attr_setdetachstate"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/pthread04.c b/testsuites/psxtests/psxhdrs/pthread04.c
index 2a1941a06c..8b63f4b4a4 100644
--- a/testsuites/psxtests/psxhdrs/pthread04.c
+++ b/testsuites/psxtests/psxhdrs/pthread04.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_attr_getdetachstate"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/pthread05.c b/testsuites/psxtests/psxhdrs/pthread05.c
index 1f02dc0f29..67339d684d 100644
--- a/testsuites/psxtests/psxhdrs/pthread05.c
+++ b/testsuites/psxtests/psxhdrs/pthread05.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -23,6 +23,8 @@
#error "rtems is supposed to have pthread_setstacksize"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/pthread06.c b/testsuites/psxtests/psxhdrs/pthread06.c
index 33f5dd069d..257137f239 100644
--- a/testsuites/psxtests/psxhdrs/pthread06.c
+++ b/testsuites/psxtests/psxhdrs/pthread06.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -22,6 +22,8 @@
#error "rtems is supposed to have pthread_getstacksize"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/pthread07.c b/testsuites/psxtests/psxhdrs/pthread07.c
index 09452388ea..fb0d7d5d7d 100644
--- a/testsuites/psxtests/psxhdrs/pthread07.c
+++ b/testsuites/psxtests/psxhdrs/pthread07.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,9 @@
#error "rtems is supposed to have pthread_create"
#endif
+void test( void );
+void *test_task( void * arg );
+
void *test_task(
void * arg
)
diff --git a/testsuites/psxtests/psxhdrs/pthread08.c b/testsuites/psxtests/psxhdrs/pthread08.c
index 072833ae5b..376228a056 100644
--- a/testsuites/psxtests/psxhdrs/pthread08.c
+++ b/testsuites/psxtests/psxhdrs/pthread08.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_exit"
#endif
+void test( void );
+
void test( void )
{
void *status = NULL;
diff --git a/testsuites/psxtests/psxhdrs/pthread09.c b/testsuites/psxtests/psxhdrs/pthread09.c
index c9b06514ae..82c633c57c 100644
--- a/testsuites/psxtests/psxhdrs/pthread09.c
+++ b/testsuites/psxtests/psxhdrs/pthread09.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_self"
#endif
+void test( void );
+
void test( void )
{
pthread_t self;
diff --git a/testsuites/psxtests/psxhdrs/pthread10.c b/testsuites/psxtests/psxhdrs/pthread10.c
index 4c65e0e293..6dd4edabbd 100644
--- a/testsuites/psxtests/psxhdrs/pthread10.c
+++ b/testsuites/psxtests/psxhdrs/pthread10.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_equal"
#endif
+void test( void );
+
void test( void )
{
pthread_t id_1 = 0;
diff --git a/testsuites/psxtests/psxhdrs/pthread11.c b/testsuites/psxtests/psxhdrs/pthread11.c
index aad4b83d49..8ccf2d018c 100644
--- a/testsuites/psxtests/psxhdrs/pthread11.c
+++ b/testsuites/psxtests/psxhdrs/pthread11.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "RTEMS is supposed to have pthread_setschedparam"
#endif
+void test( void );
+
void test( void )
{
pthread_t thread;
diff --git a/testsuites/psxtests/psxhdrs/pthread12.c b/testsuites/psxtests/psxhdrs/pthread12.c
index 987c6f6dfa..7bcbb516d9 100644
--- a/testsuites/psxtests/psxhdrs/pthread12.c
+++ b/testsuites/psxtests/psxhdrs/pthread12.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "RTEMS is supposed to have pthread_getschedparam"
#endif
+void test( void );
+
void test( void )
{
pthread_t thread;
diff --git a/testsuites/psxtests/psxhdrs/pthread13.c b/testsuites/psxtests/psxhdrs/pthread13.c
index 5c90869055..30326784ff 100644
--- a/testsuites/psxtests/psxhdrs/pthread13.c
+++ b/testsuites/psxtests/psxhdrs/pthread13.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "RTEMS is supposed to have pthread_attr_setscope"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attr;
diff --git a/testsuites/psxtests/psxhdrs/pthread14.c b/testsuites/psxtests/psxhdrs/pthread14.c
index b7c7e8306c..22e370397e 100644
--- a/testsuites/psxtests/psxhdrs/pthread14.c
+++ b/testsuites/psxtests/psxhdrs/pthread14.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "RTEMS is supposed to have pthread_attr_getscope"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attr;
diff --git a/testsuites/psxtests/psxhdrs/pthread15.c b/testsuites/psxtests/psxhdrs/pthread15.c
index 8302481a83..3e5c2636fd 100644
--- a/testsuites/psxtests/psxhdrs/pthread15.c
+++ b/testsuites/psxtests/psxhdrs/pthread15.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "RTEMS is supposed to have pthread_attr_setinheritsched"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attr;
diff --git a/testsuites/psxtests/psxhdrs/pthread16.c b/testsuites/psxtests/psxhdrs/pthread16.c
index 0d5cfbdd49..c6e27770ee 100644
--- a/testsuites/psxtests/psxhdrs/pthread16.c
+++ b/testsuites/psxtests/psxhdrs/pthread16.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "RTEMS is supposed to have pthread_attr_getinheritsched"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attr;
diff --git a/testsuites/psxtests/psxhdrs/pthread17.c b/testsuites/psxtests/psxhdrs/pthread17.c
index cd82347960..74f11043b3 100644
--- a/testsuites/psxtests/psxhdrs/pthread17.c
+++ b/testsuites/psxtests/psxhdrs/pthread17.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "RTEMS is supposed to have pthread_attr_setschedpolicy"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attr;
diff --git a/testsuites/psxtests/psxhdrs/pthread18.c b/testsuites/psxtests/psxhdrs/pthread18.c
index ae8ce0480c..f01e7926d4 100644
--- a/testsuites/psxtests/psxhdrs/pthread18.c
+++ b/testsuites/psxtests/psxhdrs/pthread18.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "RTEMS is supposed to have pthread_attr_getschedpolicy"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attr;
diff --git a/testsuites/psxtests/psxhdrs/pthread19.c b/testsuites/psxtests/psxhdrs/pthread19.c
index 17a85ecda0..b5a7923fa8 100644
--- a/testsuites/psxtests/psxhdrs/pthread19.c
+++ b/testsuites/psxtests/psxhdrs/pthread19.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "RTEMS is supposed to have pthread_attr_setschedparam"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attr;
diff --git a/testsuites/psxtests/psxhdrs/pthread20.c b/testsuites/psxtests/psxhdrs/pthread20.c
index f9d700e9ad..7f76f912ba 100644
--- a/testsuites/psxtests/psxhdrs/pthread20.c
+++ b/testsuites/psxtests/psxhdrs/pthread20.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "RTEMS is supposed to have pthread_attr_getschedparam"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attr;
diff --git a/testsuites/psxtests/psxhdrs/pthread21.c b/testsuites/psxtests/psxhdrs/pthread21.c
index 91844b310c..8423f35037 100644
--- a/testsuites/psxtests/psxhdrs/pthread21.c
+++ b/testsuites/psxtests/psxhdrs/pthread21.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_detach"
#endif
+void test( void );
+
void test( void )
{
pthread_t thread;
diff --git a/testsuites/psxtests/psxhdrs/pthread22.c b/testsuites/psxtests/psxhdrs/pthread22.c
index 39abb83e8e..74bf2252d1 100644
--- a/testsuites/psxtests/psxhdrs/pthread22.c
+++ b/testsuites/psxtests/psxhdrs/pthread22.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "RTEMS is supposed to have pthread_setschedparam"
#endif
+void test( void );
+
void test( void )
{
pthread_t thread = 0;
diff --git a/testsuites/psxtests/psxhdrs/pthread23.c b/testsuites/psxtests/psxhdrs/pthread23.c
index 0e8e5b44ef..c3f6230a2c 100644
--- a/testsuites/psxtests/psxhdrs/pthread23.c
+++ b/testsuites/psxtests/psxhdrs/pthread23.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "RTEMS is supposed to have pthread_getschedparam"
#endif
+void test( void );
+
void test( void )
{
pthread_t thread = 0;
diff --git a/testsuites/psxtests/psxhdrs/pthread24.c b/testsuites/psxtests/psxhdrs/pthread24.c
index ce62367ca1..05cd429cb9 100644
--- a/testsuites/psxtests/psxhdrs/pthread24.c
+++ b/testsuites/psxtests/psxhdrs/pthread24.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -23,6 +23,8 @@
#error "rtems is supposed to have pthread_setstackaddr"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/pthread25.c b/testsuites/psxtests/psxhdrs/pthread25.c
index bab821b625..ab7e27434e 100644
--- a/testsuites/psxtests/psxhdrs/pthread25.c
+++ b/testsuites/psxtests/psxhdrs/pthread25.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -23,6 +23,8 @@
#error "rtems is supposed to have pthread_getstackaddr"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attribute;
diff --git a/testsuites/psxtests/psxhdrs/pthread26.c b/testsuites/psxtests/psxhdrs/pthread26.c
index d42080b5aa..db5b01db4e 100644
--- a/testsuites/psxtests/psxhdrs/pthread26.c
+++ b/testsuites/psxtests/psxhdrs/pthread26.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_join"
#endif
+void test( void );
+
void test( void )
{
pthread_t thread;
diff --git a/testsuites/psxtests/psxhdrs/pthread27.c b/testsuites/psxtests/psxhdrs/pthread27.c
index 712d8af252..7eeacd4ad9 100644
--- a/testsuites/psxtests/psxhdrs/pthread27.c
+++ b/testsuites/psxtests/psxhdrs/pthread27.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,9 @@
#error "rtems is supposed to have pthread_once"
#endif
+void test( void );
+void init_routine( void );
+
void init_routine( void )
{
}
diff --git a/testsuites/psxtests/psxhdrs/pthread28.c b/testsuites/psxtests/psxhdrs/pthread28.c
index d7e84565cc..3d84de2151 100644
--- a/testsuites/psxtests/psxhdrs/pthread28.c
+++ b/testsuites/psxtests/psxhdrs/pthread28.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,9 @@
#error "rtems is supposed to have pthread_cancel"
#endif
+void test( void );
+void init_routine( void );
+
void init_routine( void )
{
}
diff --git a/testsuites/psxtests/psxhdrs/pthread29.c b/testsuites/psxtests/psxhdrs/pthread29.c
index 52b84509bf..f85dbc7565 100644
--- a/testsuites/psxtests/psxhdrs/pthread29.c
+++ b/testsuites/psxtests/psxhdrs/pthread29.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,9 @@
#error "rtems is supposed to have pthread_setcancelstate"
#endif
+void test( void );
+void init_routine( void );
+
void init_routine( void )
{
}
diff --git a/testsuites/psxtests/psxhdrs/pthread30.c b/testsuites/psxtests/psxhdrs/pthread30.c
index 1e3eafab34..771c3a44d0 100644
--- a/testsuites/psxtests/psxhdrs/pthread30.c
+++ b/testsuites/psxtests/psxhdrs/pthread30.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,9 @@
#error "rtems is supposed to have pthread_setcanceltype"
#endif
+void test( void );
+void init_routine( void );
+
void init_routine( void )
{
}
diff --git a/testsuites/psxtests/psxhdrs/pthread31.c b/testsuites/psxtests/psxhdrs/pthread31.c
index a64f0e0327..40671e6d24 100644
--- a/testsuites/psxtests/psxhdrs/pthread31.c
+++ b/testsuites/psxtests/psxhdrs/pthread31.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,9 @@
#error "rtems is supposed to have pthread_testcancel"
#endif
+void test( void );
+void init_routine( void );
+
void init_routine( void )
{
}
diff --git a/testsuites/psxtests/psxhdrs/pthread32.c b/testsuites/psxtests/psxhdrs/pthread32.c
index f841dc14b9..ac82fb3e26 100644
--- a/testsuites/psxtests/psxhdrs/pthread32.c
+++ b/testsuites/psxtests/psxhdrs/pthread32.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,9 @@
#error "rtems is supposed to have pthread_cleanup_push"
#endif
+void test( void );
+void cleanup_routine( void *argument );
+
void cleanup_routine(
void *argument
)
diff --git a/testsuites/psxtests/psxhdrs/pthread33.c b/testsuites/psxtests/psxhdrs/pthread33.c
index 12c6324535..a5751fbfae 100644
--- a/testsuites/psxtests/psxhdrs/pthread33.c
+++ b/testsuites/psxtests/psxhdrs/pthread33.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_cleanup_pop"
#endif
+void test( void );
+
void test( void )
{
pthread_cleanup_pop( 1 );
diff --git a/testsuites/psxtests/psxhdrs/pthread34.c b/testsuites/psxtests/psxhdrs/pthread34.c
index 9572e03e19..b6e3750dd6 100644
--- a/testsuites/psxtests/psxhdrs/pthread34.c
+++ b/testsuites/psxtests/psxhdrs/pthread34.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_getcpuclockid"
#endif
+void test( void );
+
void test( void )
{
pthread_t thread;
diff --git a/testsuites/psxtests/psxhdrs/pthread35.c b/testsuites/psxtests/psxhdrs/pthread35.c
index 668776ec02..44046182c6 100644
--- a/testsuites/psxtests/psxhdrs/pthread35.c
+++ b/testsuites/psxtests/psxhdrs/pthread35.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_attr_setcputime"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attr;
diff --git a/testsuites/psxtests/psxhdrs/pthread36.c b/testsuites/psxtests/psxhdrs/pthread36.c
index 1c06006a70..6c7bb96903 100644
--- a/testsuites/psxtests/psxhdrs/pthread36.c
+++ b/testsuites/psxtests/psxhdrs/pthread36.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_attr_getcputime"
#endif
+void test( void );
+
void test( void )
{
pthread_attr_t attr;
diff --git a/testsuites/psxtests/psxhdrs/sched01.c b/testsuites/psxtests/psxhdrs/sched01.c
index 5d9e3f6803..aa862c99b1 100644
--- a/testsuites/psxtests/psxhdrs/sched01.c
+++ b/testsuites/psxtests/psxhdrs/sched01.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have sched_setparam"
#endif
+void test( void );
+
void test( void )
{
pid_t pid;
diff --git a/testsuites/psxtests/psxhdrs/sched02.c b/testsuites/psxtests/psxhdrs/sched02.c
index 6102a30a8a..7bb33a5707 100644
--- a/testsuites/psxtests/psxhdrs/sched02.c
+++ b/testsuites/psxtests/psxhdrs/sched02.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have sched_getparam"
#endif
+void test( void );
+
void test( void )
{
pid_t pid;
diff --git a/testsuites/psxtests/psxhdrs/sched03.c b/testsuites/psxtests/psxhdrs/sched03.c
index 1767f807b0..e860d0e52c 100644
--- a/testsuites/psxtests/psxhdrs/sched03.c
+++ b/testsuites/psxtests/psxhdrs/sched03.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have sched_setscheduler"
#endif
+void test( void );
+
void test( void )
{
pid_t pid;
diff --git a/testsuites/psxtests/psxhdrs/sched04.c b/testsuites/psxtests/psxhdrs/sched04.c
index 674de3dfce..16c09830ca 100644
--- a/testsuites/psxtests/psxhdrs/sched04.c
+++ b/testsuites/psxtests/psxhdrs/sched04.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have sched_getscheduler"
#endif
+void test( void );
+
void test( void )
{
pid_t pid;
diff --git a/testsuites/psxtests/psxhdrs/sched05.c b/testsuites/psxtests/psxhdrs/sched05.c
index 302b23fc52..6ae67dfac7 100644
--- a/testsuites/psxtests/psxhdrs/sched05.c
+++ b/testsuites/psxtests/psxhdrs/sched05.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have sched_yield"
#endif
+void test( void );
+
void test( void )
{
int result;
diff --git a/testsuites/psxtests/psxhdrs/sched06.c b/testsuites/psxtests/psxhdrs/sched06.c
index a8f7a3197b..7fb4b9a277 100644
--- a/testsuites/psxtests/psxhdrs/sched06.c
+++ b/testsuites/psxtests/psxhdrs/sched06.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have sched_get_priority_max"
#endif
+void test( void );
+
void test( void )
{
int policy;
diff --git a/testsuites/psxtests/psxhdrs/sched07.c b/testsuites/psxtests/psxhdrs/sched07.c
index f96b22629a..5551e51766 100644
--- a/testsuites/psxtests/psxhdrs/sched07.c
+++ b/testsuites/psxtests/psxhdrs/sched07.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have sched_get_priority_min"
#endif
+void test( void );
+
void test( void )
{
int policy;
diff --git a/testsuites/psxtests/psxhdrs/sched08.c b/testsuites/psxtests/psxhdrs/sched08.c
index b0eb45b36b..edb2bac47c 100644
--- a/testsuites/psxtests/psxhdrs/sched08.c
+++ b/testsuites/psxtests/psxhdrs/sched08.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have sched_rr_get_interval"
#endif
+void test( void );
+
void test( void )
{
pid_t pid;
diff --git a/testsuites/psxtests/psxhdrs/signal01.c b/testsuites/psxtests/psxhdrs/signal01.c
index 56b7c2644d..56283828b1 100644
--- a/testsuites/psxtests/psxhdrs/signal01.c
+++ b/testsuites/psxtests/psxhdrs/signal01.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <signal.h>
+void test( void );
+
void test( void )
{
sigset_t signal_set;
diff --git a/testsuites/psxtests/psxhdrs/signal02.c b/testsuites/psxtests/psxhdrs/signal02.c
index 66e7620519..3c542f4fd9 100644
--- a/testsuites/psxtests/psxhdrs/signal02.c
+++ b/testsuites/psxtests/psxhdrs/signal02.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <signal.h>
+void test( void );
+
void test( void )
{
sigset_t signal_set;
diff --git a/testsuites/psxtests/psxhdrs/signal03.c b/testsuites/psxtests/psxhdrs/signal03.c
index 12808e2b43..145b1bc3b4 100644
--- a/testsuites/psxtests/psxhdrs/signal03.c
+++ b/testsuites/psxtests/psxhdrs/signal03.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <signal.h>
+void test( void );
+
void test( void )
{
sigset_t signal_set;
diff --git a/testsuites/psxtests/psxhdrs/signal04.c b/testsuites/psxtests/psxhdrs/signal04.c
index 9b173822a1..11afa20af3 100644
--- a/testsuites/psxtests/psxhdrs/signal04.c
+++ b/testsuites/psxtests/psxhdrs/signal04.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <signal.h>
+void test( void );
+
void test( void )
{
sigset_t signal_set;
diff --git a/testsuites/psxtests/psxhdrs/signal05.c b/testsuites/psxtests/psxhdrs/signal05.c
index f1ddd69d93..c45856fc53 100644
--- a/testsuites/psxtests/psxhdrs/signal05.c
+++ b/testsuites/psxtests/psxhdrs/signal05.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <signal.h>
+void test( void );
+
void test( void )
{
sigset_t signal_set;
diff --git a/testsuites/psxtests/psxhdrs/signal06.c b/testsuites/psxtests/psxhdrs/signal06.c
index 0590404504..e26c11fd21 100644
--- a/testsuites/psxtests/psxhdrs/signal06.c
+++ b/testsuites/psxtests/psxhdrs/signal06.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <signal.h>
+void test( void );
+
void test( void )
{
int signal_number;
diff --git a/testsuites/psxtests/psxhdrs/signal07.c b/testsuites/psxtests/psxhdrs/signal07.c
index 22a03e0cb8..cbce6abec5 100644
--- a/testsuites/psxtests/psxhdrs/signal07.c
+++ b/testsuites/psxtests/psxhdrs/signal07.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_kill"
#endif
+void test( void );
+
void test( void )
{
pthread_t thread;
diff --git a/testsuites/psxtests/psxhdrs/signal08.c b/testsuites/psxtests/psxhdrs/signal08.c
index 623781f64a..acd34671d4 100644
--- a/testsuites/psxtests/psxhdrs/signal08.c
+++ b/testsuites/psxtests/psxhdrs/signal08.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have pthread_sigmask"
#endif
+void test( void );
+
void test( void )
{
int how;
diff --git a/testsuites/psxtests/psxhdrs/signal09.c b/testsuites/psxtests/psxhdrs/signal09.c
index 79ee9c852c..afe3a80e17 100644
--- a/testsuites/psxtests/psxhdrs/signal09.c
+++ b/testsuites/psxtests/psxhdrs/signal09.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -15,6 +15,8 @@
#include <sys/types.h>
#include <signal.h>
+void test( void );
+
void test( void )
{
pid_t pid;
diff --git a/testsuites/psxtests/psxhdrs/signal10.c b/testsuites/psxtests/psxhdrs/signal10.c
index 5a215c6366..c293056cd7 100644
--- a/testsuites/psxtests/psxhdrs/signal10.c
+++ b/testsuites/psxtests/psxhdrs/signal10.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <signal.h>
+void test( void );
+
void test( void )
{
sigset_t set;
diff --git a/testsuites/psxtests/psxhdrs/signal11.c b/testsuites/psxtests/psxhdrs/signal11.c
index 18c1dee813..1bbafbf10f 100644
--- a/testsuites/psxtests/psxhdrs/signal11.c
+++ b/testsuites/psxtests/psxhdrs/signal11.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <signal.h>
+void test( void );
+
void test( void )
{
int signal_number;
diff --git a/testsuites/psxtests/psxhdrs/signal12.c b/testsuites/psxtests/psxhdrs/signal12.c
index 25382ae82d..8b1e70f3df 100644
--- a/testsuites/psxtests/psxhdrs/signal12.c
+++ b/testsuites/psxtests/psxhdrs/signal12.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <signal.h>
+void test( void );
+
void test( void )
{
void (*signal_function_pointer)();
diff --git a/testsuites/psxtests/psxhdrs/signal13.c b/testsuites/psxtests/psxhdrs/signal13.c
index 54a366b718..e4268d042e 100644
--- a/testsuites/psxtests/psxhdrs/signal13.c
+++ b/testsuites/psxtests/psxhdrs/signal13.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <signal.h>
+void test( void );
+
void test( void )
{
int how;
diff --git a/testsuites/psxtests/psxhdrs/signal14.c b/testsuites/psxtests/psxhdrs/signal14.c
index 5384fb2a36..2633046293 100644
--- a/testsuites/psxtests/psxhdrs/signal14.c
+++ b/testsuites/psxtests/psxhdrs/signal14.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <signal.h>
+void test( void );
+
void test( void )
{
sigset_t set;
diff --git a/testsuites/psxtests/psxhdrs/signal15.c b/testsuites/psxtests/psxhdrs/signal15.c
index db38af651e..c036914198 100644
--- a/testsuites/psxtests/psxhdrs/signal15.c
+++ b/testsuites/psxtests/psxhdrs/signal15.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <signal.h>
+void test( void );
+
void test( void )
{
sigset_t sigmask;
diff --git a/testsuites/psxtests/psxhdrs/signal16.c b/testsuites/psxtests/psxhdrs/signal16.c
index acaadeae48..8d0a35b7bf 100644
--- a/testsuites/psxtests/psxhdrs/signal16.c
+++ b/testsuites/psxtests/psxhdrs/signal16.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#define "rtems is supposed to have pthread_sigmask"
#endif
+void test( void );
+
void test( void )
{
int how;
diff --git a/testsuites/psxtests/psxhdrs/signal17.c b/testsuites/psxtests/psxhdrs/signal17.c
index 99200d5dcd..6de997887d 100644
--- a/testsuites/psxtests/psxhdrs/signal17.c
+++ b/testsuites/psxtests/psxhdrs/signal17.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <signal.h>
+void test( void );
+
void test( void )
{
sigset_t set;
diff --git a/testsuites/psxtests/psxhdrs/signal18.c b/testsuites/psxtests/psxhdrs/signal18.c
index 11d260c293..cc594f85ee 100644
--- a/testsuites/psxtests/psxhdrs/signal18.c
+++ b/testsuites/psxtests/psxhdrs/signal18.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <signal.h>
+void test( void );
+
void test( void )
{
sigset_t set;
diff --git a/testsuites/psxtests/psxhdrs/signal19.c b/testsuites/psxtests/psxhdrs/signal19.c
index 732dd3c20e..c9e0c50b1f 100644
--- a/testsuites/psxtests/psxhdrs/signal19.c
+++ b/testsuites/psxtests/psxhdrs/signal19.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <signal.h>
+void test( void );
+
void test( void )
{
sigset_t set;
diff --git a/testsuites/psxtests/psxhdrs/signal20.c b/testsuites/psxtests/psxhdrs/signal20.c
index 7529657c14..e2863d4a5e 100644
--- a/testsuites/psxtests/psxhdrs/signal20.c
+++ b/testsuites/psxtests/psxhdrs/signal20.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <signal.h>
+void test( void );
+
void test( void )
{
unsigned int seconds;
diff --git a/testsuites/psxtests/psxhdrs/signal21.c b/testsuites/psxtests/psxhdrs/signal21.c
index ba230fdce0..c7b95bc322 100644
--- a/testsuites/psxtests/psxhdrs/signal21.c
+++ b/testsuites/psxtests/psxhdrs/signal21.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <signal.h>
+void test( void );
+
void test( void )
{
int result;
diff --git a/testsuites/psxtests/psxhdrs/signal22.c b/testsuites/psxtests/psxhdrs/signal22.c
index 3e8697167b..61631b12c8 100644
--- a/testsuites/psxtests/psxhdrs/signal22.c
+++ b/testsuites/psxtests/psxhdrs/signal22.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <unistd.h>
+void test( void );
+
void test( void )
{
unsigned int seconds;
diff --git a/testsuites/psxtests/psxhdrs/signal23.c b/testsuites/psxtests/psxhdrs/signal23.c
index 4d7a4ca157..820080e579 100644
--- a/testsuites/psxtests/psxhdrs/signal23.c
+++ b/testsuites/psxtests/psxhdrs/signal23.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-2003.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -15,6 +15,8 @@
#include <signal.h>
useconds_t _EXFUN(ualarm, (useconds_t __useconds, useconds_t __interval));
+void test( void );
+
void test( void )
{
useconds_t useconds;
diff --git a/testsuites/psxtests/psxhdrs/sync01.c b/testsuites/psxtests/psxhdrs/sync01.c
index 3949a758dc..1a39f93f44 100644
--- a/testsuites/psxtests/psxhdrs/sync01.c
+++ b/testsuites/psxtests/psxhdrs/sync01.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-2003.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <unistd.h>
+void test( void );
+
void test( void )
{
int fd;
diff --git a/testsuites/psxtests/psxhdrs/sync02.c b/testsuites/psxtests/psxhdrs/sync02.c
index 300eeca783..c4eb58bf6f 100644
--- a/testsuites/psxtests/psxhdrs/sync02.c
+++ b/testsuites/psxtests/psxhdrs/sync02.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-2003.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <unistd.h>
+void test( void );
+
void test( void )
{
int fd;
diff --git a/testsuites/psxtests/psxhdrs/sync03.c b/testsuites/psxtests/psxhdrs/sync03.c
index 467d1af6ea..845cc76944 100644
--- a/testsuites/psxtests/psxhdrs/sync03.c
+++ b/testsuites/psxtests/psxhdrs/sync03.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-2003.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <unistd.h>
+void test( void );
+
void test( void )
{
sync();
diff --git a/testsuites/psxtests/psxhdrs/time01.c b/testsuites/psxtests/psxhdrs/time01.c
index a4ab5b0296..4b628c56e7 100644
--- a/testsuites/psxtests/psxhdrs/time01.c
+++ b/testsuites/psxtests/psxhdrs/time01.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <time.h>
+void test( void );
+
void test( void )
{
clock_t clock_ticks;
diff --git a/testsuites/psxtests/psxhdrs/time02.c b/testsuites/psxtests/psxhdrs/time02.c
index e1afdb1d01..1d0096d527 100644
--- a/testsuites/psxtests/psxhdrs/time02.c
+++ b/testsuites/psxtests/psxhdrs/time02.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <time.h>
+void test( void );
+
void test( void )
{
time_t time1;
diff --git a/testsuites/psxtests/psxhdrs/time03.c b/testsuites/psxtests/psxhdrs/time03.c
index f3634cbcd2..3ebace870d 100644
--- a/testsuites/psxtests/psxhdrs/time03.c
+++ b/testsuites/psxtests/psxhdrs/time03.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <time.h>
+void test( void );
+
void test( void )
{
struct tm timestruct;
diff --git a/testsuites/psxtests/psxhdrs/time04.c b/testsuites/psxtests/psxhdrs/time04.c
index 43eb9c2eec..1806f66bcc 100644
--- a/testsuites/psxtests/psxhdrs/time04.c
+++ b/testsuites/psxtests/psxhdrs/time04.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <time.h>
+void test( void );
+
void test( void )
{
time_t new_time;
diff --git a/testsuites/psxtests/psxhdrs/time05.c b/testsuites/psxtests/psxhdrs/time05.c
index 65de89c203..a695245dfd 100644
--- a/testsuites/psxtests/psxhdrs/time05.c
+++ b/testsuites/psxtests/psxhdrs/time05.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <time.h>
+void test( void );
+
void test( void )
{
size_t length;
diff --git a/testsuites/psxtests/psxhdrs/time06.c b/testsuites/psxtests/psxhdrs/time06.c
index 05066f9669..618f0fb98e 100644
--- a/testsuites/psxtests/psxhdrs/time06.c
+++ b/testsuites/psxtests/psxhdrs/time06.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <time.h>
+void test( void );
+
void test( void )
{
char *buffer;
diff --git a/testsuites/psxtests/psxhdrs/time07.c b/testsuites/psxtests/psxhdrs/time07.c
index 43e1d87e1a..da13652d2a 100644
--- a/testsuites/psxtests/psxhdrs/time07.c
+++ b/testsuites/psxtests/psxhdrs/time07.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <time.h>
+void test( void );
+
void test( void )
{
char *buffer;
diff --git a/testsuites/psxtests/psxhdrs/time08.c b/testsuites/psxtests/psxhdrs/time08.c
index 0016f03343..6d80cf4e09 100644
--- a/testsuites/psxtests/psxhdrs/time08.c
+++ b/testsuites/psxtests/psxhdrs/time08.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <time.h>
+void test( void );
+
void test( void )
{
time_t time;
diff --git a/testsuites/psxtests/psxhdrs/time09.c b/testsuites/psxtests/psxhdrs/time09.c
index 59d97af024..be027e115e 100644
--- a/testsuites/psxtests/psxhdrs/time09.c
+++ b/testsuites/psxtests/psxhdrs/time09.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <time.h>
+void test( void );
+
void test( void )
{
time_t time;
diff --git a/testsuites/psxtests/psxhdrs/time10.c b/testsuites/psxtests/psxhdrs/time10.c
index f4b5edf41c..7d70e21509 100644
--- a/testsuites/psxtests/psxhdrs/time10.c
+++ b/testsuites/psxtests/psxhdrs/time10.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <time.h>
+void test( void );
+
void test( void )
{
char *buffer_pointer;
diff --git a/testsuites/psxtests/psxhdrs/time11.c b/testsuites/psxtests/psxhdrs/time11.c
index f4c83add22..76f8ad17cc 100644
--- a/testsuites/psxtests/psxhdrs/time11.c
+++ b/testsuites/psxtests/psxhdrs/time11.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <time.h>
+void test( void );
+
void test( void )
{
char *buffer_pointer;
diff --git a/testsuites/psxtests/psxhdrs/time12.c b/testsuites/psxtests/psxhdrs/time12.c
index 8377b2b343..253c050e41 100644
--- a/testsuites/psxtests/psxhdrs/time12.c
+++ b/testsuites/psxtests/psxhdrs/time12.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <time.h>
+void test( void );
+
void test( void )
{
time_t time;
diff --git a/testsuites/psxtests/psxhdrs/time13.c b/testsuites/psxtests/psxhdrs/time13.c
index 365291dc06..58902ec6b9 100644
--- a/testsuites/psxtests/psxhdrs/time13.c
+++ b/testsuites/psxtests/psxhdrs/time13.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,6 +14,8 @@
#include <time.h>
+void test( void );
+
void test( void )
{
time_t time;
diff --git a/testsuites/psxtests/psxhdrs/timer01.c b/testsuites/psxtests/psxhdrs/timer01.c
index eb58d5b735..23ce0d8a9a 100644
--- a/testsuites/psxtests/psxhdrs/timer01.c
+++ b/testsuites/psxtests/psxhdrs/timer01.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have timer_create"
#endif
+void test( void );
+
void test( void )
{
clockid_t clock_id = 0;
diff --git a/testsuites/psxtests/psxhdrs/timer02.c b/testsuites/psxtests/psxhdrs/timer02.c
index cf25f6476f..5a2ca8771b 100644
--- a/testsuites/psxtests/psxhdrs/timer02.c
+++ b/testsuites/psxtests/psxhdrs/timer02.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have timer_delete"
#endif
+void test( void );
+
void test( void )
{
timer_t timerid = 0;
diff --git a/testsuites/psxtests/psxhdrs/timer03.c b/testsuites/psxtests/psxhdrs/timer03.c
index 6460a48c10..666c36fadb 100644
--- a/testsuites/psxtests/psxhdrs/timer03.c
+++ b/testsuites/psxtests/psxhdrs/timer03.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have timer_settime"
#endif
+void test( void );
+
void test( void )
{
timer_t timerid = 0;
diff --git a/testsuites/psxtests/psxhdrs/timer04.c b/testsuites/psxtests/psxhdrs/timer04.c
index 45a60fb70c..aba173df80 100644
--- a/testsuites/psxtests/psxhdrs/timer04.c
+++ b/testsuites/psxtests/psxhdrs/timer04.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have timer_gettime"
#endif
+void test( void );
+
void test( void )
{
timer_t timerid = 0;
diff --git a/testsuites/psxtests/psxhdrs/timer05.c b/testsuites/psxtests/psxhdrs/timer05.c
index 7da6c48794..2c6d3e743b 100644
--- a/testsuites/psxtests/psxhdrs/timer05.c
+++ b/testsuites/psxtests/psxhdrs/timer05.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have timer_getoverrun"
#endif
+void test( void );
+
void test( void )
{
timer_t timerid = 0;
diff --git a/testsuites/psxtests/psxhdrs/timer06.c b/testsuites/psxtests/psxhdrs/timer06.c
index f2ef8fd4af..46b66db921 100644
--- a/testsuites/psxtests/psxhdrs/timer06.c
+++ b/testsuites/psxtests/psxhdrs/timer06.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,8 @@
#error "rtems is supposed to have nanosleep"
#endif
+void test( void );
+
void test( void )
{
struct timespec rqtp;
diff --git a/testsuites/psxtests/psxhdrs/timer07.c b/testsuites/psxtests/psxhdrs/timer07.c
index bcb6b394fe..1995cfdd0a 100644
--- a/testsuites/psxtests/psxhdrs/timer07.c
+++ b/testsuites/psxtests/psxhdrs/timer07.c
@@ -2,7 +2,7 @@
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
- * COPYRIGHT (c) 1989-2003.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -14,10 +14,12 @@
#include <unistd.h>
+void test( void );
+
void test( void )
{
- unsigned long usec;
- unsigned result;
+ useconds_t usec;
+ unsigned result;
usec = 0;
result = usleep( usec );