summaryrefslogtreecommitdiff
path: root/source/module/monitor_trace.h
diff options
context:
space:
mode:
authorzy <[email protected]>2023-11-16 18:26:49 +0800
committerzy <[email protected]>2023-11-16 18:26:49 +0800
commitd94f916f2d57d8237a67100e2c4134885f441e1c (patch)
treeef61c549fef018d472dd7194770e58ed5a1ed7f3 /source/module/monitor_trace.h
parent67b53ae0481872acd30be0541ff679a7f41c376d (diff)
fix multiple definition
Diffstat (limited to 'source/module/monitor_trace.h')
-rw-r--r--source/module/monitor_trace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/module/monitor_trace.h b/source/module/monitor_trace.h
index bfcd117..56eb36a 100644
--- a/source/module/monitor_trace.h
+++ b/source/module/monitor_trace.h
@@ -68,8 +68,8 @@ typedef struct {
spinlock_t mm_tree_lock;
} mm_tree;
-mm_tree mm_tree_struct;
-struct diag_variant_buffer load_monitor_variant_buffer; // Global buffer
+extern mm_tree mm_tree_struct;
+extern struct diag_variant_buffer load_monitor_variant_buffer; // Global buffer
void diag_task_brief(struct task_struct *tsk,
task_detail *detail); // get task brief