some functions were missing proper prototypes

I hope you don't mind me submitting trivial little things like this - I'm mostly just poking round the code base and finding little things to tidy up while I'm in the area seemed the thing to do.