From: Volker Lendecke Date: Fri, 5 Aug 2011 14:19:27 +0000 (+0200) Subject: s3: Make srv_enc_ctx static X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=dfa8a5fca5bff05f37d18e56e049e2d176fb140c;p=kai%2Fsamba.git s3: Make srv_enc_ctx static Autobuild-User: Volker Lendecke Autobuild-Date: Fri Aug 5 18:29:24 CEST 2011 on sn-devel-104 --- diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 7dee467661a..92a1d3876d1 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 8440e5d2278..fa25cadf60b 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; }