s3: Make srv_enc_ctx static
authorVolker Lendecke <vl@samba.org>
Fri, 5 Aug 2011 14:19:27 +0000 (16:19 +0200)
committerVolker Lendecke <vlendec@samba.org>
Fri, 5 Aug 2011 16:29:24 +0000 (18:29 +0200)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Aug  5 18:29:24 CEST 2011 on sn-devel-104

source3/smbd/proto.h
source3/smbd/seal.c

index 7dee467661a840ecd9cc85507fe298fc64c0ba21..92a1d3876d1c4a191e3f5f1429ab03e06e906e8f 100644 (file)
@@ -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);
index 8440e5d22783ad160c74244637d223750f0b530a..fa25cadf60b5d6d687eb0fdadd79c7ec982d2007 100644 (file)
@@ -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;
 }