Handle parsing of function definitions and prototypes