summaryrefslogtreecommitdiff
path: root/src/c/hardware/rasberrypi
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/hardware/rasberrypi')
-rw-r--r--src/c/hardware/rasberrypi/includes/RPIPeripheralThreading.h2
-rw-r--r--src/c/hardware/rasberrypi/threading/u16RPIThreadCreates.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/c/hardware/rasberrypi/includes/RPIPeripheralThreading.h b/src/c/hardware/rasberrypi/includes/RPIPeripheralThreading.h
index 2304567..a7b2adb 100644
--- a/src/c/hardware/rasberrypi/includes/RPIPeripheralThreading.h
+++ b/src/c/hardware/rasberrypi/includes/RPIPeripheralThreading.h
@@ -19,7 +19,7 @@
extern "C" {
#endif
-uint16 RPIThreadCreate(void *(*threadFunction)(void));
+uint16 RPIThreadCreate(void *(*threadFunction)(void*));
#ifdef __cplusplus
} /* extern "C" */
diff --git a/src/c/hardware/rasberrypi/threading/u16RPIThreadCreates.c b/src/c/hardware/rasberrypi/threading/u16RPIThreadCreates.c
index d0a063a..c05c959 100644
--- a/src/c/hardware/rasberrypi/threading/u16RPIThreadCreates.c
+++ b/src/c/hardware/rasberrypi/threading/u16RPIThreadCreates.c
@@ -15,7 +15,7 @@
#include "types.h"
#include "RPIPeripheralThreading.h"
-uint16 RPIThreadCreate(void *(*threadFunction)(void))
+uint16 RPIThreadCreate(void *(*threadFunction)(void*))
{
int status;
status = piThreadCreate (threadFunction);