summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-18 20:29:24 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-18 20:29:24 +0200
commita55340608b3140b26888422f708d0a0834bae2d7 (patch)
tree4120439363bfe0f039e7de2f321085678d132b56
parent38cbb559e1c6bcbcf23e241d1090c3538ace4596 (diff)
downloadrtems-examples-a55340608b3140b26888422f708d0a0834bae2d7.tar.bz2
psx_example_2: Fix warning
-rw-r--r--posix_api/psx_example_2/test2.c2
1 files changed, 1 insertions, 1 deletions
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 ))