In K&R it says that declaring a function prototype such as void foo();
with an empty parameter list turns off function parameter type checking. Is this only for foo
or for all functions?
That only applies to the function in question, not globally.