Lsm6dsox interrupt task

The system does not allow me to createbinary;
when i add the line ;
xInterruptSemaphore=xSemaphoreCreateBinary();
error occur. (conflicting types)
Do you know anything about this Hartmut ?