Module: sip-router Branch: master Commit: 9f3cad7fbd74bf45c242bc6f587dce96c796fcc1 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9f3cad7f...
Author: Hugh Waite hugh.waite@acision.com Committer: Hugh Waite hugh.waite@acision.com Date: Wed Sep 3 11:42:58 2014 +0100
htable: Fix declarations of variable ht_expired_cell
- Removed unused extern delaration in htable.c - Reported by Ovidiu Sas
---
modules/htable/ht_var.c | 2 +- modules/htable/htable.c | 1 - 2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/htable/ht_var.c b/modules/htable/ht_var.c index 5f8c043..50901d3 100644 --- a/modules/htable/ht_var.c +++ b/modules/htable/ht_var.c @@ -26,7 +26,7 @@
/* pkg copy */ ht_cell_t *_htc_local=NULL; -ht_cell_t *ht_expired_cell; +extern ht_cell_t *ht_expired_cell;
int pv_get_ht_cell(struct sip_msg *msg, pv_param_t *param, pv_value_t *res) diff --git a/modules/htable/htable.c b/modules/htable/htable.c index 747fb0f..0dfdcda 100644 --- a/modules/htable/htable.c +++ b/modules/htable/htable.c @@ -52,7 +52,6 @@ MODULE_VERSION int ht_timer_interval = 20; int ht_db_expires_flag = 0; int ht_enable_dmq = 0; -extern ht_cell_t *ht_expired_cell;
static int htable_init_rpc(void);