]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3-libads: make ndr_print_ads_auth_flags() static.
authorGünther Deschner <gd@samba.org>
Thu, 24 Feb 2011 22:38:18 +0000 (23:38 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 25 Feb 2011 00:55:26 +0000 (01:55 +0100)
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 25 01:55:26 CET 2011 on sn-devel-104

source3/libads/ads_proto.h
source3/libads/ndr.c

index 040825e674ceb0e701c0ba72a32f62fd70ea97f5..ed702de8a6c642723fafb5dcbb5e249faf262f23 100644 (file)
@@ -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  */
index 603add001a39a0f4aec39b48c525491da1b45d40..c6b1121396117e70ecb2142f569cf6e6aa96f567 100644 (file)
@@ -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++;