summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmmutex03
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-11 09:15:40 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-11 09:15:40 -0500
commit991a3cc1c9e7a141f08995e1f3cb6f23f2da2a3b (patch)
tree285ffee7745d1c87165ce8f87f81c816a4660d0e /testsuites/psxtmtests/psxtmmutex03
parentRemove CVS Id Strings (manual edits after script) (diff)
downloadrtems-991a3cc1c9e7a141f08995e1f3cb6f23f2da2a3b.tar.bz2
psxtmtests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/psxtmtests/psxtmmutex03')
-rw-r--r--testsuites/psxtmtests/psxtmmutex03/init.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmmutex03/init.c b/testsuites/psxtmtests/psxtmmutex03/init.c
index 768e7165f0..d80fd85853 100644
--- a/testsuites/psxtmtests/psxtmmutex03/init.c
+++ b/testsuites/psxtmtests/psxtmmutex03/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
@@ -17,6 +17,14 @@
#include <pthread.h>
#include "test_support.h"
+/* forward declarations to avoid warnings */
+void *POSIX_Init(void *argument);
+void benchmark_mutex_lock_available(void);
+void benchmark_mutex_unlock_no_threads_waiting(void);
+void benchmark_mutex_trylock_available(void);
+void benchmark_mutex_trylock_not_available(void);
+void benchmark_mutex_timedlock_available(void);
+
pthread_mutex_t MutexId;
void benchmark_mutex_lock_available(void)
@@ -76,7 +84,6 @@ void benchmark_mutex_trylock_available(void)
);
}
-
void benchmark_mutex_trylock_not_available(void)
{
benchmark_timer_t end_time;