include: gcov: fix compilation error
These empty functions needed to be declared static inline or we get build errors if the header is included by more than one C file. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
2f95f4afe7
commit
89430b33e9
|
@ -11,8 +11,8 @@
|
|||
void gcov_coverage_dump(void);
|
||||
void gcov_static_init(void);
|
||||
#else
|
||||
void gcov_coverage_dump(void) { }
|
||||
void gcov_static_init(void) { }
|
||||
static inline void gcov_coverage_dump(void) { }
|
||||
static inline void gcov_static_init(void) { }
|
||||
|
||||
#endif /* CONFIG_COVERAGE */
|
||||
|
||||
|
|
Loading…
Reference in a new issue