summaryrefslogtreecommitdiffstats
path: root/c/src/tests/tmtests/tm20
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-08-17 19:36:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-08-17 19:36:43 +0000
commit4b374f36e7172d59d6d8c252973c1ef65637ecbb (patch)
treed6be1084c310d24004e9b056eebdac6c286a4f25 /c/src/tests/tmtests/tm20
parentadded tty driver to simhppa (diff)
downloadrtems-4b374f36e7172d59d6d8c252973c1ef65637ecbb.tar.bz2
maximum number of messages removed and include statement cleanup
Diffstat (limited to 'c/src/tests/tmtests/tm20')
-rw-r--r--c/src/tests/tmtests/tm20/system.h12
-rw-r--r--c/src/tests/tmtests/tm20/task1.c15
2 files changed, 12 insertions, 15 deletions
diff --git a/c/src/tests/tmtests/tm20/system.h b/c/src/tests/tmtests/tm20/system.h
index 9133506e7f..16aff61444 100644
--- a/c/src/tests/tmtests/tm20/system.h
+++ b/c/src/tests/tmtests/tm20/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:17:56 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/c/src/tests/tmtests/tm20/task1.c b/c/src/tests/tmtests/tm20/task1.c
index 6cfcb3d0c1..97c1a13e0b 100644
--- a/c/src/tests/tmtests/tm20/task1.c
+++ b/c/src/tests/tmtests/tm20/task1.c
@@ -8,7 +8,7 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * task1.c,v 1.2 1995/05/31 17:18:00 joel Exp
*/
#include "system.h"
@@ -89,7 +89,6 @@ rtems_task Task_1(
rtems_unsigned32 index;
rtems_mode previous_mode;
rtems_task_priority previous_priority;
- rtems_unsigned32 return_value;
rtems_status_code status;
Partition_name = rtems_build_name( 'P', 'A', 'R', 'T' );
@@ -350,7 +349,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_initialize( 0, 0, NULL, &return_value );
+ (void) rtems_io_initialize( 0, 0, NULL );
end_time = Read_timer();
put_time(
@@ -363,7 +362,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_open( 0, 0, NULL, &return_value );
+ (void) rtems_io_open( 0, 0, NULL );
end_time = Read_timer();
put_time(
@@ -376,7 +375,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_close( 0, 0, NULL, &return_value );
+ (void) rtems_io_close( 0, 0, NULL );
end_time = Read_timer();
put_time(
@@ -389,7 +388,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_read( 0, 0, NULL, &return_value );
+ (void) rtems_io_read( 0, 0, NULL );
end_time = Read_timer();
put_time(
@@ -402,7 +401,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_write( 0, 0, NULL, &return_value );
+ (void) rtems_io_write( 0, 0, NULL );
end_time = Read_timer();
put_time(
@@ -415,7 +414,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_control( 0, 0, NULL, &return_value );
+ (void) rtems_io_control( 0, 0, NULL );
end_time = Read_timer();
put_time(