add missing prototypes