serial: add prototypes for init functions