Module: sip-router
Branch: master
Commit: 509659a83a53f8d979da37cee24941d22f5fffdc
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=509659a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Oct 2 11:54:54 2014 +0200
lcr: declare inline function static to work with llvm linker
---
modules/lcr/lcr_mod.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/lcr/lcr_mod.c b/modules/lcr/lcr_mod.c
index eadcda9..ae01b24 100644
--- a/modules/lcr/lcr_mod.c
+++ b/modules/lcr/lcr_mod.c
@@ -1638,7 +1638,7 @@ int reload_tables()
}
-inline int encode_avp_value(char *value, unsigned int gw_index,
+static inline int encode_avp_value(char *value, unsigned int gw_index,
char *scheme, unsigned int scheme_len,
unsigned int strip,
char *prefix, unsigned int prefix_len,
@@ -1703,7 +1703,7 @@ inline int encode_avp_value(char *value, unsigned int gw_index,
return at - value;
}
-inline int decode_avp_value(char *value, unsigned int *gw_index, str *scheme,
+static inline int decode_avp_value(char *value, unsigned int *gw_index, str *scheme,
unsigned int *strip, str *prefix, str *tag,
struct ip_addr *addr, str *hostname, str *port,
str *params, str *transport, unsigned int *flags)