summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx11
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/psx11
parentlibtmtests - Eliminate missing prototype warnings (diff)
downloadrtems-6c2de6052d450fa36338ed0c082647b9d535a928.tar.bz2
psxtests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/psxtests/psx11')
-rw-r--r--testsuites/psxtests/psx11/task.c23
1 files changed, 15 insertions, 8 deletions
diff --git a/testsuites/psxtests/psx11/task.c b/testsuites/psxtests/psx11/task.c
index f49f58cf5f..1a0d249857 100644
--- a/testsuites/psxtests/psx11/task.c
+++ b/testsuites/psxtests/psx11/task.c
@@ -1,14 +1,14 @@
-/* Task_1
+/**
+ * @file
+ *
+ * Task_1
*
* This routine serves as a test task. It verifies the basic task
* switching capabilities of the executive.
- *
- * Input parameters:
- * argument - task argument
- *
- * Output parameters: NONE
- *
- * COPYRIGHT (c) 1989-2009.
+ */
+
+/*
+ * COPYRIGHT (c) 1989-2012.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -24,6 +24,13 @@
#include <time.h>
#include <sched.h>
+/* forward declarations to avoid warnings */
+void diff_timespec(
+ struct timespec *start,
+ struct timespec *stop,
+ struct timespec *result
+);
+
void diff_timespec(
struct timespec *start,
struct timespec *stop,