summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm08
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-09 21:24:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-09 21:24:06 +0000
commit1055ce20fce7730cd46bb41230252cbaf1acce83 (patch)
treef1bafa58b57cfe61d7acf5947f4d1fb337e72c9e /testsuites/tmtests/tm08
parent2009-05-09 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-1055ce20fce7730cd46bb41230252cbaf1acce83.tar.bz2
Fix most warnings.
Diffstat (limited to 'testsuites/tmtests/tm08')
-rw-r--r--testsuites/tmtests/tm08/task1.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/testsuites/tmtests/tm08/task1.c b/testsuites/tmtests/tm08/task1.c
index 70a8f75bbc..7e3f149bd9 100644
--- a/testsuites/tmtests/tm08/task1.c
+++ b/testsuites/tmtests/tm08/task1.c
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -20,7 +20,7 @@ rtems_task test_task(
rtems_task test_task1(
rtems_task_argument argument
);
-void test_init();
+void test_init(void);
rtems_task Init(
rtems_task_argument argument
@@ -38,13 +38,13 @@ rtems_task Init(
directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
}
-void test_init()
+void test_init(void)
{
rtems_status_code status;
status = rtems_task_create(
1,
- (RTEMS_MAXIMUM_PRIORITY / 2) + 1,
+ (RTEMS_MAXIMUM_PRIORITY / 2u) + 1u,
RTEMS_MINIMUM_STACK_SIZE,
RTEMS_DEFAULT_MODES,
RTEMS_DEFAULT_ATTRIBUTES,
@@ -57,7 +57,7 @@ void test_init()
status = rtems_task_create(
1,
- RTEMS_MAXIMUM_PRIORITY - 1,
+ RTEMS_MAXIMUM_PRIORITY - 1u,
RTEMS_MINIMUM_STACK_SIZE,
RTEMS_DEFAULT_MODES,
RTEMS_DEFAULT_ATTRIBUTES,
@@ -106,7 +106,7 @@ rtems_task test_task(
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
(void) rtems_task_set_priority(
Test_task_id,
- RTEMS_MAXIMUM_PRIORITY - 2,
+ RTEMS_MAXIMUM_PRIORITY - 2u,
&old_priority
);