15-05-2014, 06:13 PM
Resolved following C99 standard:
declared in my_file.h
and defined in my_file.c
my_func is callable from other modules and code is MISRA 8.5 fully compliant.
Regards
Andrea Mocci, embedded SW developer @ Akhela s.r.l.
declared in my_file.h
Code:
extern void my_func(void);
and defined in my_file.c
Code:
inline void my_func(void)
{
/* DO SOMETHING */
}
my_func is callable from other modules and code is MISRA 8.5 fully compliant.
Regards
Andrea Mocci, embedded SW developer @ Akhela s.r.l.
<t></t>