I’m getting this violation in MISRCRA C 2012:
expander_control.h 171 Expander_VerifyRegisterBit Declaration or definition is not compatible with another declaration or definition in file expander_control.c at 432:6
Here’s the code at those two locations:
bool Expander_VerifyRegisterBit(EXPAND_GPIO_t reg, uint8_t bitNumber, bool bit_compare_state)
bool Expander_VerifyRegisterBit(EXPAND_GPIO_t reg, uint8_t bitNumber, bool bit_compare_state);
The defintion of EXPAND_GPIO_t is coming from the same included file for both locations.
Looks the same to me. Any thoughts on what this could be?
I’m getting this violation in MISRCRA C 2012:
expander_control.h 171 Expander_VerifyRegisterBit Declaration or definition is not compatible with another declaration or definition in file expander_control.c at 432:6
Here’s the code at those two locations:
The defintion of EXPAND_GPIO_t is coming from the same included file for both locations.
Looks the same to me. Any thoughts on what this could be?