We have an internal rule within our SW team that :
internal functions of a module passed as pointer from module itself outside (callbacks, handlers, …) shall have _ prefix and also have their purpose noted in function name by specific keyword (Callback, ISR or Handler) - i. e. _Buttons_DebounceHandler();
For all internal functions we have defined, Sonar checker reports a violation to MISRA rule 20.1 which is not the case because our internal functions are not part of any standard libraries:
MISRA C:2004, 20.1 - Reserved identifiers, macros and functions in the standard library, shall not be defined redefined or undefined.
How can we solve this issue having in mind that we do not want to unselect this MISRA rule?
Many thanks for your feedback,