summaryrefslogtreecommitdiffstats
path: root/testsuites/itrontests/itrontask02
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-30 11:09:13 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-30 11:09:13 +0000
commit1b4b7f397b38b31d6ba84cbabe552e7703954b22 (patch)
tree2c56bc1c11af78a30849b4b2487194e9255d7d11 /testsuites/itrontests/itrontask02
parentUse PRId32 to print INT's. (diff)
downloadrtems-1b4b7f397b38b31d6ba84cbabe552e7703954b22.tar.bz2
Add missing prototypes.
Diffstat (limited to 'testsuites/itrontests/itrontask02')
-rw-r--r--testsuites/itrontests/itrontask02/dormant.c4
-rw-r--r--testsuites/itrontests/itrontask02/system.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/itrontests/itrontask02/dormant.c b/testsuites/itrontests/itrontask02/dormant.c
index f6c2bf0e13..42cab19dbc 100644
--- a/testsuites/itrontests/itrontask02/dormant.c
+++ b/testsuites/itrontests/itrontask02/dormant.c
@@ -21,7 +21,7 @@
#include <assert.h>
#include "system.h"
-void Dormant_task()
+void Dormant_task(void)
{
puts( "DORMANT - ext_tsk - going to DORMANT state" );
ext_tsk( );
@@ -31,7 +31,7 @@ void Dormant_task()
}
-void Non_Dormant_task()
+void Non_Dormant_task(void)
{
ER status;
diff --git a/testsuites/itrontests/itrontask02/system.h b/testsuites/itrontests/itrontask02/system.h
index b2c0c06e4f..bde798bf10 100644
--- a/testsuites/itrontests/itrontask02/system.h
+++ b/testsuites/itrontests/itrontask02/system.h
@@ -19,8 +19,8 @@
/* functions */
void ITRON_Init( void );
-void Dormant_task();
-void Non_Dormant_task();
+void Dormant_task(void);
+void Non_Dormant_task(void);
/* configuration information */