diff options
author | Volker Lendecke <vl@samba.org> | 2011-08-05 16:19:27 +0200 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-08-05 18:29:24 +0200 |
commit | dfa8a5fca5bff05f37d18e56e049e2d176fb140c (patch) | |
tree | 306ccaf07f0320a23a6321185dc9852bc5e1e3d9 | |
parent | 3b5e7c55d8b9745e793e1cabaf8730e260505ebd (diff) | |
download | samba-dfa8a5fca5bff05f37d18e56e049e2d176fb140c.tar.gz samba-dfa8a5fca5bff05f37d18e56e049e2d176fb140c.tar.bz2 samba-dfa8a5fca5bff05f37d18e56e049e2d176fb140c.zip |
s3: Make srv_enc_ctx static
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Aug 5 18:29:24 CEST 2011 on sn-devel-104
-rw-r--r-- | source3/smbd/proto.h | 1 | ||||
-rw-r--r-- | source3/smbd/seal.c | 2 |
2 files changed, 1 insertions, 2 deletions
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; } |