summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-24 23:38:18 +0100
committerGünther Deschner <gd@samba.org>2011-02-25 01:55:26 +0100
commitbc1312303dd2de401f3c6bd93a705ab1bfe07b56 (patch)
treecd4b4643bf8b2725be538999d2de8a7e2bebab05 /source3/libads
parent59e45a979ca49b485bc5a88d79d1ce83b80d5bee (diff)
downloadsamba-bc1312303dd2de401f3c6bd93a705ab1bfe07b56.tar.gz
samba-bc1312303dd2de401f3c6bd93a705ab1bfe07b56.tar.bz2
samba-bc1312303dd2de401f3c6bd93a705ab1bfe07b56.zip
s3-libads: make ndr_print_ads_auth_flags() static.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Feb 25 01:55:26 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/ads_proto.h2
-rw-r--r--source3/libads/ndr.c2
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++;