summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-11-02 16:52:03 -0500
committerJoel Sherrill <joel@rtems.org>2018-11-02 16:52:03 -0500
commit00c07641ab15729e6db684854d3fe73cbc07f989 (patch)
tree79524fe954c6a5a8976f618d5436aa8767600dac
parentpsxtmtest_single/init.c: Fix typos (diff)
downloadrtems-testing-00c07641ab15729e6db684854d3fe73cbc07f989.tar.bz2
rtems-test-template: Ensure more templates compile
-rw-r--r--rtems-test-template/psxtest/init.c3
-rw-r--r--rtems-test-template/psxtest_with_thread/init.c5
-rw-r--r--rtems-test-template/psxtmtest_init_destroy/init.c2
3 files changed, 6 insertions, 4 deletions
diff --git a/rtems-test-template/psxtest/init.c b/rtems-test-template/psxtest/init.c
index 9c6f0a8..077d27b 100644
--- a/rtems-test-template/psxtest/init.c
+++ b/rtems-test-template/psxtest/init.c
@@ -15,6 +15,7 @@
*/
#include "test_support.h"
+#include <tmacros.h>
const char rtems_test_name[] = "@UPPER@";
@@ -22,7 +23,7 @@ const char rtems_test_name[] = "@UPPER@";
void *POSIX_Init(void *argument);
void *POSIX_Init(
- rtems_task_argument argument
+ void *argument
)
{
TEST_BEGIN();
diff --git a/rtems-test-template/psxtest_with_thread/init.c b/rtems-test-template/psxtest_with_thread/init.c
index 2d0c0fd..b2d6e93 100644
--- a/rtems-test-template/psxtest_with_thread/init.c
+++ b/rtems-test-template/psxtest_with_thread/init.c
@@ -14,8 +14,9 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <tmacros.h>
#include "test_support.h"
+#include <tmacros.h>
+
#include <pthread.h>
/* forward declarations to avoid warnings */
@@ -32,7 +33,7 @@ void *TestThread(
}
void *POSIX_Init(
- rtems_task_argument argument
+ void *argument
)
{
int status;
diff --git a/rtems-test-template/psxtmtest_init_destroy/init.c b/rtems-test-template/psxtmtest_init_destroy/init.c
index 4bd88f9..975ce50 100644
--- a/rtems-test-template/psxtmtest_init_destroy/init.c
+++ b/rtems-test-template/psxtmtest_init_destroy/init.c
@@ -22,7 +22,7 @@
#include <rtems/btimer.h>
#include "test_support.h"
-const char rtems_test_name[] = "@UPPER@";""
+const char rtems_test_name[] = "@UPPER@";
/* forward declarations to avoid warnings */
void *POSIX_Init(void *argument);