[SCM] Samba Shared Repository - branch master updated
Jeremy Allison
jra at samba.org
Thu Feb 26 22:21:04 MST 2015
The branch, master has been updated
via 9750eb7 libsmb: Make "ip_service_compare" static
from 04b8e19 tevent: version 0.9.23
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 9750eb7bab12825b3937985ffbcafa1b46ef4626
Author: Volker Lendecke <vl at samba.org>
Date: Wed Feb 25 21:17:57 2015 +0000
libsmb: Make "ip_service_compare" static
Signed-off-by: Volker Lendecke <vl at samba.org>
Reviewed-by: Jeremy Allison <jra at samba.org>
Autobuild-User(master): Jeremy Allison <jra at samba.org>
Autobuild-Date(master): Fri Feb 27 06:20:58 CET 2015 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source3/include/proto.h | 1 -
source3/libsmb/namequery.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 82b2fb5..64bce03 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -821,7 +821,6 @@ bool name_status_find(const char *q_name,
int type,
const struct sockaddr_storage *to_ss,
fstring name);
-int ip_service_compare(struct ip_service *ss1, struct ip_service *ss2);
int remove_duplicate_addrs2(struct ip_service *iplist, int count );
struct tevent_req *name_query_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index 85af6ed..977c4ce 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -1055,7 +1055,7 @@ static int addr_compare(const struct sockaddr_storage *ss1,
compare 2 ldap IPs by nearness to our interfaces - used in qsort
*******************************************************************/
-int ip_service_compare(struct ip_service *ss1, struct ip_service *ss2)
+static int ip_service_compare(struct ip_service *ss1, struct ip_service *ss2)
{
int result;
--
Samba Shared Repository
More information about the samba-cvs
mailing list