In AUTOSAR_MCAL_TMS570LSx-05.30.00, the generated extern declarations from Spi_PBcfg.c are as follows
extern CDD_PM_TPS_Callback();
extern CDD_LSD_TLE_Callback();
extern CDD_IO_MCP_Callback();
extern CDD_IO_TIC_Callback();
extern CDD_PLCModem_Callback();
extern Fls_30_Spi01_DrvSequenceCbk();
extern Fls_30_Spi01_DrvSequenceCbk();
extern Fls_30_Spi01_DrvSequenceCbk();
(missing return type and empty argument list (“variadic”))
And here is the compiler warning for the five callback declarations at the top:
"GenData/src/Spi_PBcfg.c", line 1234: warning: a value of type "int (*)()" cannot be used to initialize an entity of type "void (*)(void)"
The warnings have to be fixed.