Created attachment 15214 [details] [review]
Ansify functions with K&R prototypes.
Adjust some definitions to match required prototypes.
Declare as static some functions to avoid warnings about missing prototypes.
Thanks for the patch.
Oh wait, it was me who originally made it, thanks me :-)
This is from the list of patches Peter Breitenlohner reviewed
and suggested applying, as they are (or should be) keyword'ed
janitor and trivial.