Gekko.c
C:/sources/wiiflow/source/hw/Gekko.c: In function 'light_loop':
C:/sources/wiiflow/source/hw/Gekko.c:103:3: error: too few arguments to function 'nanosleep'
nanosleep(&timeon);
^~~~~~~~~
In file included from C:/devkitPro/libogc/include/ogc/system.h:43,
from C:/devkitPro/libogc/include/gccore.h:62,
from C:/devkitPro/libogc/include/ogcsys.h:4,
from C:/sources/wiiflow/source/hw/Gekko.c:24:
c:\devkitpro\devkitppc\powerpc-eabi\include\time.h:210:5: note: declared here
int nanosleep (const struct timespec *rqtp, struct timespec *rmtp);
^~~~~~~~~
C:/sources/wiiflow/source/hw/Gekko.c:107:3: error: too few arguments to function 'nanosleep'
nanosleep(&timeoff);
^~~~~~~~~
In file included from C:/devkitPro/libogc/include/ogc/system.h:43,
from C:/devkitPro/libogc/include/gccore.h:62,
from C:/devkitPro/libogc/include/ogcsys.h:4,
from C:/sources/wiiflow/source/hw/Gekko.c:24:
c:\devkitpro\devkitppc\powerpc-eabi\include\time.h:210:5: note: declared here
int nanosleep (const struct timespec *rqtp, struct timespec *rmtp);
^~~~~~~~~
make[2]: *** [/opt/devkitpro/devkitPPC/base_rules:18: Gekko.o] Error 1
make[1]: *** [/c/sources/wiiflow/Makefile.main:144: build] Error 2
make: *** [Makefile:15: all] Error 2