From dfa8a5fca5bff05f37d18e56e049e2d176fb140c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 5 Aug 2011 16:19:27 +0200 Subject: s3: Make srv_enc_ctx static Autobuild-User: Volker Lendecke Autobuild-Date: Fri Aug 5 18:29:24 CEST 2011 on sn-devel-104 --- source3/smbd/proto.h | 1 - source3/smbd/seal.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 7dee467661..92a1d3876d 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -936,7 +936,6 @@ void reply_getattrE(struct smb_request *req); /* The following definitions come from smbd/seal.c */ -uint16_t srv_enc_ctx(void); bool is_encrypted_packet(const uint8_t *inbuf); void srv_free_enc_buffer(char *buf); NTSTATUS srv_decrypt_buffer(char *buf); diff --git a/source3/smbd/seal.c b/source3/smbd/seal.c index 8440e5d227..fa25cadf60 100644 --- a/source3/smbd/seal.c +++ b/source3/smbd/seal.c @@ -46,7 +46,7 @@ struct smb_srv_trans_enc_ctx { Return global enc context - this must change if we ever do multiple contexts. ******************************************************************************/ -uint16_t srv_enc_ctx(void) +static uint16_t srv_enc_ctx(void) { return srv_trans_enc_ctx->es->enc_ctx_num; } -- cgit