[examples-v2 commit] Fix warnings
Sebastian Huber
sebh at rtems.org
Thu Oct 12 11:07:29 UTC 2017
Module: examples-v2
Branch: master
Commit: 7a8df0d7b90a9ca710829662cda44400e29a2cd7
Changeset: http://git.rtems.org/examples-v2/commit/?id=7a8df0d7b90a9ca710829662cda44400e29a2cd7
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Oct 12 13:07:08 2017 +0200
Fix warnings
Update #3158.
---
misc/minimum/test.c | 4 ++--
ticker/low_ticker/init.c | 4 ++--
ticker/low_ticker1/init.c | 4 ++--
ticker/low_ticker2/init.c | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/misc/minimum/test.c b/misc/minimum/test.c
index 3ee03ae..eb7bcac 100644
--- a/misc/minimum/test.c
+++ b/misc/minimum/test.c
@@ -10,8 +10,8 @@
#include <bsp.h>
-rtems_task Init(
- rtems_task_argument ignored
+void *Init(
+ uintptr_t ignored
)
{
/* initialize application */
diff --git a/ticker/low_ticker/init.c b/ticker/low_ticker/init.c
index f679b9c..f66a20a 100644
--- a/ticker/low_ticker/init.c
+++ b/ticker/low_ticker/init.c
@@ -35,8 +35,8 @@ rtems_task Test_task(
}
}
-rtems_task Init(
- rtems_task_argument argument
+static void *Init(
+ uintptr_t ignored
)
{
rtems_status_code status;
diff --git a/ticker/low_ticker1/init.c b/ticker/low_ticker1/init.c
index 699e942..a0dbef0 100644
--- a/ticker/low_ticker1/init.c
+++ b/ticker/low_ticker1/init.c
@@ -41,8 +41,8 @@ rtems_task Test_task(
}
}
-rtems_task Init(
- rtems_task_argument argument
+static void *Init(
+ uintptr_t ignored
)
{
rtems_status_code status;
diff --git a/ticker/low_ticker2/init.c b/ticker/low_ticker2/init.c
index 417c9d5..3ec77a9 100644
--- a/ticker/low_ticker2/init.c
+++ b/ticker/low_ticker2/init.c
@@ -35,7 +35,7 @@ rtems_task Test_task(
}
}
-void Init(
+void *Init(
uintptr_t argument
)
{
More information about the vc
mailing list