diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-11 14:12:11 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-11 14:12:11 -0500 |
commit | 6c2de6052d450fa36338ed0c082647b9d535a928 (patch) | |
tree | cf352d1305edc992fceda6c7b75ab3658b982834 /testsuites/psxtests/psxspin01/test.c | |
parent | libtmtests - Eliminate missing prototype warnings (diff) | |
download | rtems-6c2de6052d450fa36338ed0c082647b9d535a928.tar.bz2 |
psxtests - Eliminate missing prototype warnings
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/psxspin01/test.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/testsuites/psxtests/psxspin01/test.c b/testsuites/psxtests/psxspin01/test.c index eebde0fc8b..4a0842f2d0 100644 --- a/testsuites/psxtests/psxspin01/test.c +++ b/testsuites/psxtests/psxspin01/test.c @@ -1,7 +1,11 @@ -/* - * This test exercises the POSIX Spinlock manager. +/** + * @file * - * COPYRIGHT (c) 1989-2009. + * This test exercises the POSIX Spinlock manager. + */ + +/* + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -22,6 +26,10 @@ #include <rtems.h> /* for task creation */ +/* forward declarations to avoid warnings */ +int test_main(void); +rtems_task SpinlockThread(rtems_task_argument arg); + pthread_spinlock_t Spinlock; volatile int mainThreadSpinning; |