User:Schievel/fixing clang16 errors

= Fixing old C code for K&R = Clang16 will not allow implicit ints, old K&R style function definitions, implicit function declarations and incompatible function pointer types. See also: