CC (clang) [M dispatcher.so] dispatch.o
dispatch.c:1666:19: error: static declaration of 'ds_update_dst' follows non-static declaration static inline int ds_update_dst( ./dispatch.h:127:5: note: previous declaration is here int ds_update_dst(struct sip_msg *msg, int upos, int mode); dispatch.c:2069:6: error: too many arguments to function call, expected 3, have 4 ./dispatch.h:127:1: note: 'ds_update_dst' declared here int ds_update_dst(struct sip_msg *msg, int upos, int mode); dispatch.c:2211:47: error: too many arguments to function call, expected 3, have 4 if(ds_update_dst(msg, &lxavp->val.v.s, sock, mode) != 0) { dispatch.c:2168:1: note: 'ds_update_dst' declared here int ds_update_dst(struct sip_msg *msg, int upos, int mode) dispatch.c:3063:14: error: use of undeclared identifier 'ds_next_dst'