Browse code

ims_qos: use extern in header files not to redeclare variables

Daniel-Constantin Mierla authored on 04/03/2020 07:28:30
Showing 4 changed files
... ...
@@ -67,8 +67,8 @@ typedef struct {
67 67
 	int size;
68 68
 } cdp_cb_event_list_t;
69 69
 
70
-str early_qosrelease_reason;
71
-str confirmed_qosrelease_headers;
70
+extern str early_qosrelease_reason;
71
+extern str confirmed_qosrelease_headers;
72 72
 
73 73
 int init_cdp_cb_event_list();
74 74
 void destroy_cdp_cb_event_list();
... ...
@@ -71,7 +71,7 @@
71 71
 #define macro_name(_rc)	#_rc
72 72
 
73 73
 //extern struct tm_binds tmb;
74
-usrloc_api_t ul;
74
+extern usrloc_api_t ul;
75 75
 
76 76
 extern struct ims_qos_counters_h ims_qos_cnts_h;
77 77
 
... ...
@@ -55,7 +55,7 @@
55 55
 #include "../../core/locking.h"
56 56
 
57 57
 struct cdp_binds cdpb;
58
-cdp_avp_bind_t *cdp_avp;
58
+extern cdp_avp_bind_t *cdp_avp;
59 59
 
60 60
 /*this is the parcel to pass for CDP async for AAR*/
61 61
 typedef struct saved_transaction {
... ...
@@ -64,8 +64,8 @@ struct AAA_AVP_List;
64 64
 struct AAAMessage;
65 65
 enum dialog_direction;
66 66
 
67
-int audio_default_bandwidth;
68
-int video_default_bandwidth;
67
+extern int audio_default_bandwidth;
68
+extern int video_default_bandwidth;
69 69
 
70 70
 
71 71
 /*helper*/