Changed errors in c file fo c errors