summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-19 16:08:24 +0100
committerVolker Lendecke <vl@samba.org>2008-03-19 16:23:28 +0100
commitbf10e7f93960f18739a9110d59d0ca09bfaf6c03 (patch)
tree07c088d12286244a7d98c105437895ae14c47830
parent130b474e472f056afabc00892ae92c591053e678 (diff)
downloadsamba-bf10e7f93960f18739a9110d59d0ca09bfaf6c03.tar.gz
samba-bf10e7f93960f18739a9110d59d0ca09bfaf6c03.tar.bz2
samba-bf10e7f93960f18739a9110d59d0ca09bfaf6c03.zip
Fix some "nexted extern" warnins
(This used to be commit 32fc759d942abb36d7dd351eff82925b6788dd28)
-rw-r--r--source3/winbindd/winbindd_ndr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/winbindd/winbindd_ndr.c b/source3/winbindd/winbindd_ndr.c
index 842c915c5f..9d1502afa7 100644
--- a/source3/winbindd/winbindd_ndr.c
+++ b/source3/winbindd/winbindd_ndr.c
@@ -70,18 +70,18 @@ void ndr_print_winbindd_cm_conn(struct ndr_print *ndr,
/****************************************************************
****************************************************************/
+#ifdef HAVE_ADS
+extern struct winbindd_methods ads_methods;
+#endif
+extern struct winbindd_methods msrpc_methods;
+extern struct winbindd_methods passdb_methods;
+extern struct winbindd_methods reconnect_methods;
+extern struct winbindd_methods cache_methods;
+
void ndr_print_winbindd_methods(struct ndr_print *ndr,
const char *name,
const struct winbindd_methods *r)
{
-#ifdef HAVE_ADS
- extern struct winbindd_methods ads_methods;
-#endif
- extern struct winbindd_methods msrpc_methods;
- extern struct winbindd_methods passdb_methods;
- extern struct winbindd_methods reconnect_methods;
- extern struct winbindd_methods cache_methods;
-
ndr_print_struct(ndr, name, "winbindd_methods");
ndr->depth++;