Skip to content
Commit 3293d805 authored by Hein Wessels's avatar Hein Wessels Committed by Alberto Escolar
Browse files

soc: posix: inf_clock: add C++ support to NATIVE_TASK



Explicitly define function pointer as (void*)() and not (void*).
In C this cast is done implicitly, but C++ does not allow it.

Also, the const is moved to the correct location. Now it's a constant
pointer to a function(void) that returns void, instead of a pointer
to a function(void) returning (const void).

Signed-off-by: default avatarHein Wessels <heinwessels93@gmail.com>
parent 26349193
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment