[sr-dev] git:master: tm: restrict callid_suffix and callid_prefix visibility to module, not used outside

Henning Westerholt henning.westerholt at 1und1.de
Tue Jul 5 08:47:42 CEST 2011


Module: sip-router
Branch: master
Commit: 9e2fc89369794ad58168b1008fb2fb846ccde93b
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9e2fc89369794ad58168b1008fb2fb846ccde93b

Author: Henning Westerholt <henning.westerholt at 1und1.de>
Committer: Henning Westerholt <henning.westerholt at 1und1.de>
Date:   Mon Jul  4 23:47:25 2011 +0200

tm: restrict callid_suffix and callid_prefix visibility to module, not used outside

---

 modules/tm/callid.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/tm/callid.c b/modules/tm/callid.c
index 5000ef4..0795652 100644
--- a/modules/tm/callid.c
+++ b/modules/tm/callid.c
@@ -61,8 +61,8 @@
 static unsigned long callid_nr;
 static char callid_buf[CALLID_NR_LEN + CALLID_SUFFIX_LEN];
 
-str callid_prefix;
-str callid_suffix;
+static str callid_prefix;
+static str callid_suffix;
 
 
 /**




More information about the sr-dev mailing list