Module: sip-router Branch: 3.3 Commit: aa43b51c87e025d9526f31059dee55c2199e970f URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=aa43b51c...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Thu Dec 19 16:24:32 2013 +0100
core: declared static and extern inline prototypes for gcc (clang) on mac os x
---
parser/parse_param.h | 2 +- sip_msg_clone.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/parser/parse_param.h b/parser/parse_param.h index e0b15fd..db7f401 100644 --- a/parser/parse_param.h +++ b/parser/parse_param.h @@ -150,7 +150,7 @@ typedef union param_hooks { * 0: success, but expect a next paramter * 1: success and exepect no more parameters */ -inline int parse_param(str *_s, pclass_t _c, param_hooks_t *_h, param_t *t); +extern inline int parse_param(str *_s, pclass_t _c, param_hooks_t *_h, param_t *t);
/*! \brief diff --git a/sip_msg_clone.c b/sip_msg_clone.c index 28933b2..58ce353 100644 --- a/sip_msg_clone.c +++ b/sip_msg_clone.c @@ -150,7 +150,7 @@ do { \
-inline struct via_body* via_body_cloner( char* new_buf, +static inline struct via_body* via_body_cloner( char* new_buf, char *org_buf, struct via_body *param_org_via, char **p) { struct via_body *new_via;