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
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@
|
||||||
void gcov_coverage_dump(void);
|
void gcov_coverage_dump(void);
|
||||||
void gcov_static_init(void);
|
void gcov_static_init(void);
|
||||||
#else
|
#else
|
||||||
void gcov_coverage_dump(void) { }
|
static inline void gcov_coverage_dump(void) { }
|
||||||
void gcov_static_init(void) { }
|
static inline void gcov_static_init(void) { }
|
||||||
|
|
||||||
#endif /* CONFIG_COVERAGE */
|
#endif /* CONFIG_COVERAGE */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue