libcli/auth: Match Declaration of netlogon_creds_cli_context_tmp with implementation
authorThomas Schulz <schulz@adi.com>
Mon, 16 Mar 2015 17:21:46 +0000 (10:21 -0700)
committerMichael Adam <obnox@samba.org>
Fri, 20 Mar 2015 12:49:26 +0000 (13:49 +0100)
I have been building 4.2.0 with the GNU C compiler but I decided to see
how it works with the Sun C 5.11 compiler. The Sun compiler complains
about a identifier being redeclared in libcli/auth/netlogon_creds_cli.c

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11140

Reviewed-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
libcli/auth/netlogon_creds_cli.h

index 401ce8cd9efe03dc196e0cacdb28c98a3fb86896..006367a788deedb6487e8d91928974f0d3de206d 100644 (file)
@@ -44,9 +44,9 @@ NTSTATUS netlogon_creds_cli_context_global(struct loadparm_context *lp_ctx,
 NTSTATUS netlogon_creds_cli_context_tmp(const char *client_computer,
                                const char *client_account,
                                enum netr_SchannelType type,
-                               enum dcerpc_AuthLevel auth_level,
                                uint32_t proposed_flags,
                                uint32_t required_flags,
+                               enum dcerpc_AuthLevel auth_level,
                                const char *server_computer,
                                const char *server_netbios_domain,
                                TALLOC_CTX *mem_ctx,