[sr-dev] git:master:770331df: Merge pull request #1020 from jhcloos/master

GitHub noreply at github.com
Tue Mar 14 20:10:30 CET 2017


Module: kamailio
Branch: master
Commit: 770331dfe0d82ac699d5c4452cedf6c877f27046
URL: https://github.com/kamailio/kamailio/commit/770331dfe0d82ac699d5c4452cedf6c877f27046

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: GitHub <noreply at github.com>
Date: 2017-03-14T20:10:26+01:00

Merge pull request #1020 from jhcloos/master

app_perl: Make sv2int_str() static

---

Modified: src/modules/app_perl/kamailioxs.xs

---

Diff:  https://github.com/kamailio/kamailio/commit/770331dfe0d82ac699d5c4452cedf6c877f27046.diff
Patch: https://github.com/kamailio/kamailio/commit/770331dfe0d82ac699d5c4452cedf6c877f27046.patch

---

diff --git a/src/modules/app_perl/kamailioxs.xs b/src/modules/app_perl/kamailioxs.xs
index 02fb5a5..8d2604c 100644
--- a/src/modules/app_perl/kamailioxs.xs
+++ b/src/modules/app_perl/kamailioxs.xs
@@ -402,7 +402,7 @@ char *pv_sprintf(struct sip_msg *m, char *fmt) {
  * - strflag: flag mask to be or-applied for string match
  */
 
-inline int sv2int_str(SV *val, int_str *is,
+static inline int sv2int_str(SV *val, int_str *is,
 		      unsigned short *flags, unsigned short strflag) {
 	char *s;
 	STRLEN len;




More information about the sr-dev mailing list