emit function prototypes