From: Volker Lendecke Date: Tue, 13 Feb 2024 12:13:26 +0000 (+0100) Subject: smbd: Remove get_Protocol() X-Git-Tag: tdb-1.4.11~1497 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea09be77523541ee4fd6dd7b1b8165ab6678bce7;p=thirdparty%2Fsamba.git smbd: Remove get_Protocol() Signed-off-by: Volker Lendecke Reviewed-by: Andrew Bartlett --- diff --git a/source3/include/proto.h b/source3/include/proto.h index e9e13f67173..ed45485e654 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -277,7 +277,6 @@ bool is_allowed_domain(const char *domain_name); /* The following definitions come from lib/util.c */ -enum protocol_types get_Protocol(void); void set_Protocol(enum protocol_types p); void gfree_all( void ); bool file_exist_stat(const char *fname,SMB_STRUCT_STAT *sbuf, diff --git a/source3/lib/util.c b/source3/lib/util.c index 51dc50d0b66..b840221f41a 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -54,11 +54,6 @@ static enum protocol_types Protocol = PROTOCOL_COREPLUS; -enum protocol_types get_Protocol(void) -{ - return Protocol; -} - void set_Protocol(enum protocol_types p) { Protocol = p;