summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxtimes01
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-11 14:12:11 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-11 14:12:11 -0500
commit6c2de6052d450fa36338ed0c082647b9d535a928 (patch)
treecf352d1305edc992fceda6c7b75ab3658b982834 /testsuites/psxtests/psxtimes01
parentlibtmtests - Eliminate missing prototype warnings (diff)
downloadrtems-6c2de6052d450fa36338ed0c082647b9d535a928.tar.bz2
psxtests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/psxtests/psxtimes01')
-rw-r--r--testsuites/psxtests/psxtimes01/init.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/testsuites/psxtests/psxtimes01/init.c b/testsuites/psxtests/psxtimes01/init.c
index d3e6c9c39f..640fe57979 100644
--- a/testsuites/psxtests/psxtimes01/init.c
+++ b/testsuites/psxtests/psxtimes01/init.c
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 1989-2011.
+ * COPYRIGHT (c) 1989-2012.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -16,14 +16,10 @@
#include <sys/times.h>
#include <errno.h>
-clock_t _times_r(
- struct _reent *ptr,
- struct tms *ptms
-);
-
-clock_t _times(
- struct tms *ptms
-);
+/* forward declarations to avoid warnings */
+rtems_task Init(rtems_task_argument argument);
+clock_t _times_r(struct _reent *ptr, struct tms *ptms);
+clock_t _times(struct tms *ptms);
rtems_task Init(
rtems_task_argument argument