add missing prototypes for some exported functions