From 0f8e2a6ebb716588e741c2cdd8e9918262fdd4c6 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 23 Nov 2009 16:33:26 +0100 Subject: Revert "s3: Move the global variable Protocol to struct smbd_server_connection" This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea. --- source3/include/proto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/include/proto.h') diff --git a/source3/include/proto.h b/source3/include/proto.h index b708c26100..d4b734b8f9 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1073,8 +1073,8 @@ struct passwd *Get_Pwnam_alloc(TALLOC_CTX *mem_ctx, const char *user); /* The following definitions come from lib/util.c */ -enum protocol_types get_Protocol(const struct smbd_server_connection *c); -void set_Protocol(struct smbd_server_connection *c, enum protocol_types p); +enum protocol_types get_Protocol(void); +void set_Protocol(enum protocol_types p); bool all_zero(const uint8_t *ptr, size_t size); bool set_global_myname(const char *myname); const char *global_myname(void); -- cgit