summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/proto.h1
-rw-r--r--source3/smbd/seal.c2
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;
}