Modified code to return lessser warnings (such as those of -Wimplicit-function-declaration