Add the "static" qualifier to function that isn't being declared