summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmthread04/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtmtests/psxtmthread04/init.c')
-rw-r--r--testsuites/psxtmtests/psxtmthread04/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmthread04/init.c b/testsuites/psxtmtests/psxtmthread04/init.c
index 5b260dd0c3..12f53370cb 100644
--- a/testsuites/psxtmtests/psxtmthread04/init.c
+++ b/testsuites/psxtmtests/psxtmthread04/init.c
@@ -11,6 +11,8 @@
#include "config.h"
#endif
+#define TEST_INIT
+
#include <timesys.h>
#include <pthread.h>
#include <sched.h>
@@ -55,7 +57,7 @@ void benchmark_pthread_setschedparam(void)
status = pthread_getschedparam( pthread_self(), &policy, &param );
rtems_test_assert( status == 0 );
-
+
/* Arbitrary priority, no other threads to preempt us so it doesn't matter. */
param.sched_priority = 5;
benchmark_timer_initialize();
@@ -69,7 +71,7 @@ void benchmark_pthread_setschedparam(void)
1, /* Only executed once */
0,
0
- );
+ );
}
void *POSIX_Init(