Autogenerate function prototypes