warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]