Răsfoiți Sursa

ims_qos: more extern declarations in the header files

Daniel-Constantin Mierla 5 ani în urmă
părinte
comite
7bea30203b

+ 5 - 1
src/modules/ims_qos/ims_qos_mod.c

@@ -75,7 +75,11 @@
 
 MODULE_VERSION
 
-		extern gen_lock_t* process_lock; /* lock on the process table */
+extern gen_lock_t* process_lock; /* lock on the process table */
+
+stat_var* stat_aar_timeouts;
+stat_var* aar_replies_received;
+stat_var* aar_replies_response_time;
 
 str orig_session_key = str_init("originating");
 str term_session_key = str_init("terminating");

+ 1 - 1
src/modules/ims_qos/rx_aar.h

@@ -54,7 +54,7 @@
 #include "../../core/mod_fix.h"
 #include "../../core/locking.h"
 
-struct cdp_binds cdpb;
+extern struct cdp_binds cdpb;
 extern cdp_avp_bind_t *cdp_avp;
 
 /*this is the parcel to pass for CDP async for AAR*/

+ 3 - 3
src/modules/ims_qos/stats.h

@@ -51,9 +51,9 @@
 
 #include "../../core/counters.h"
 
-stat_var* stat_aar_timeouts;
-stat_var* aar_replies_received;
-stat_var* aar_replies_response_time;
+extern stat_var* stat_aar_timeouts;
+extern stat_var* aar_replies_received;
+extern stat_var* aar_replies_response_time;
 
 int register_stats();
 unsigned long get_avg_aar_response_time();