From bc1312303dd2de401f3c6bd93a705ab1bfe07b56 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 24 Feb 2011 23:38:18 +0100 Subject: s3-libads: make ndr_print_ads_auth_flags() static. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Fri Feb 25 01:55:26 CET 2011 on sn-devel-104 --- source3/libads/ads_proto.h | 2 +- source3/libads/ndr.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/libads/ads_proto.h b/source3/libads/ads_proto.h index 040825e674..ed702de8a6 100644 --- a/source3/libads/ads_proto.h +++ b/source3/libads/ads_proto.h @@ -133,7 +133,7 @@ ADS_STATUS ads_ranged_search(ADS_STRUCT *ads, /* The following definitions come from libads/ndr.c */ -void ndr_print_ads_auth_flags(struct ndr_print *ndr, const char *name, uint32_t r); +struct ndr_print; void ndr_print_ads_struct(struct ndr_print *ndr, const char *name, const struct ads_struct *r); /* The following definitions come from libads/sasl.c */ diff --git a/source3/libads/ndr.c b/source3/libads/ndr.c index 603add001a..c6b1121396 100644 --- a/source3/libads/ndr.c +++ b/source3/libads/ndr.c @@ -24,7 +24,7 @@ #include "../librpc/gen_ndr/ndr_netlogon.h" #include "librpc/ndr/util.h" -void ndr_print_ads_auth_flags(struct ndr_print *ndr, const char *name, uint32_t r) +static void ndr_print_ads_auth_flags(struct ndr_print *ndr, const char *name, uint32_t r) { ndr_print_uint32(ndr, name, r); ndr->depth++; -- cgit