Update init.c

Fixing compiling errors