object_tracing: fix definition
This is a header file, the definition for _trace_list_sys_ring_buf needs to be 'extern' otherwise multiple instances of this variable could be instantiated, leading to linker errors. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
951ce4d00e
commit
5305f36d4f
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@
|
|||
|
||||
struct ring_buf;
|
||||
|
||||
struct ring_buf *_trace_list_sys_ring_buf;
|
||||
extern struct ring_buf *_trace_list_sys_ring_buf;
|
||||
|
||||
#endif /*CONFIG_OBJECT_TRACING*/
|
||||
#endif /*_OBJECT_TRACING_COMMON_H_*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue