[rtems-examples commit] psx_example_2: Fix warning

Sebastian Huber sebh at rtems.org
Fri Sep 18 18:30:20 UTC 2020


Module:    rtems-examples
Branch:    master
Commit:    a55340608b3140b26888422f708d0a0834bae2d7
Changeset: http://git.rtems.org/rtems-examples/commit/?id=a55340608b3140b26888422f708d0a0834bae2d7

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Sep 18 20:29:24 2020 +0200

psx_example_2: Fix warning

---

 posix_api/psx_example_2/test2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/posix_api/psx_example_2/test2.c b/posix_api/psx_example_2/test2.c
index b9df107..499e899 100644
--- a/posix_api/psx_example_2/test2.c
+++ b/posix_api/psx_example_2/test2.c
@@ -24,7 +24,7 @@ void * print_hello(void * arg)
   return NULL;
 }
 
-int *POSIX_Init()
+void *POSIX_Init(void *arg)
 {
   pthread_t child;
   if ( pthread_create( &child, NULL, print_hello, NULL ))



More information about the vc mailing list