Add/correct prototypes for some already defined functions in advpack.