Skip to content

Commit

Permalink
ims_qos: more extern declarations in the header files
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Mar 4, 2020
1 parent a839527 commit 7bea302
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion src/modules/ims_qos/ims_qos_mod.c
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion src/modules/ims_qos/rx_aar.h
Expand Up @@ -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*/
Expand Down
6 changes: 3 additions & 3 deletions src/modules/ims_qos/stats.h
Expand Up @@ -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();
Expand Down

0 comments on commit 7bea302

Please sign in to comment.