Module: kamailio
Branch: master
Commit: 4dc718a0f20169ed76b9f7618e3e9994c9313102
URL:
https://github.com/kamailio/kamailio/commit/4dc718a0f20169ed76b9f7618e3e999…
Author: Mikko Lehto <mslehto(a)iki.fi>
Committer: Mikko Lehto <mslehto(a)iki.fi>
Date: 2015-08-24T22:27:51+03:00
modules/p_usrloc: fixes get_all_ucontacts() function signature
usrloc.c:61:26: warning: incompatible pointer types assigning to
'get_all_ucontacts_t' (aka 'int (*)(void *, int, unsigned int, unsigned int,
unsigned int, int)') from
'int (void *, int, unsigned int, unsigned int, unsigned int)'
[-Wincompatible-pointer-types]
---
Modified: modules/p_usrloc/dlist.c
Modified: modules/p_usrloc/dlist.h
---
Diff:
https://github.com/kamailio/kamailio/commit/4dc718a0f20169ed76b9f7618e3e999…
Patch:
https://github.com/kamailio/kamailio/commit/4dc718a0f20169ed76b9f7618e3e999…
---
diff --git a/modules/p_usrloc/dlist.c b/modules/p_usrloc/dlist.c
index 9a6f806..5c16508 100644
--- a/modules/p_usrloc/dlist.c
+++ b/modules/p_usrloc/dlist.c
@@ -153,7 +153,7 @@ unsigned long get_number_of_users(void)
int get_all_ucontacts(void *buf, int len, unsigned int flags,
- unsigned int part_idx, unsigned int part_max)
+ unsigned int part_idx, unsigned int part_max, int options)
{
LM_INFO("not available with partitioned interface");
return -1;
diff --git a/modules/p_usrloc/dlist.h b/modules/p_usrloc/dlist.h
index 2114ac6..76c263e 100644
--- a/modules/p_usrloc/dlist.h
+++ b/modules/p_usrloc/dlist.h
@@ -107,7 +107,7 @@ int register_udomain(const char* _n, udomain_t** _d);
* \return 0 on success, positive if buffer size was not sufficient, negative on failure
*/
int get_all_ucontacts(void *, int, unsigned int,
- unsigned int part_idx, unsigned int part_max);
+ unsigned int part_idx, unsigned int part_max, int options);
/*!
* \brief Find a particular domain, small wrapper around find_dlist