Removing the implicit function declaration problem in C