summarylogtreecommitdiffstats
path: root/0004-avoid-duplicate-symbols.patch
blob: 027a7bb9bbe506a39a03b0f7d5c6053a0bfd8f1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/src/host/recovery.c
+++ b/src/host/recovery.c
@@ -42,7 +42,7 @@
 } recovery_entry_t;
 
 /* list of recovery tokens */
-TAILQ_HEAD(recovery_queue_s, recovery_entry_s)  t_recovery_queue;
+static TAILQ_HEAD(recovery_queue_s, recovery_entry_s)  t_recovery_queue;
 static platform_mutex_t recovery_lock;
 
 
--- a/src/host/usb-linux.c
+++ b/src/host/usb-linux.c
@@ -79,7 +79,7 @@
 static platform_thread_t findandattach_thread;
 volatile int novacom_shutdown = 0;
 		/* list of recovery tokens */
-TAILQ_HEAD(recovery_queue_s, recovery_entry_s)  t_recovery_queue;
+static TAILQ_HEAD(recovery_queue_s, recovery_entry_s)  t_recovery_queue;
 static platform_mutex_t recovery_lock;