summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxkey01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxkey01/init.c')
-rw-r--r--testsuites/psxtests/psxkey01/init.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/testsuites/psxtests/psxkey01/init.c b/testsuites/psxtests/psxkey01/init.c
index a8fd98bed2..dbd73d10f8 100644
--- a/testsuites/psxtests/psxkey01/init.c
+++ b/testsuites/psxtests/psxkey01/init.c
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2012.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -16,18 +16,19 @@
#include <errno.h>
#include "tmacros.h"
-void Key_destructor(
- void *key_data
-)
+/* forward declarations to avoid warnings */
+void *POSIX_Init(void *argument);
+void Key_destructor(void *key_data);
+
+void Key_destructor(void *key_data)
{
}
-
void *POSIX_Init(
void *argument
)
{
- int status;
+ int status;
puts( "\n\n*** POSIX KEY 01 TEST ***" );