From: Jeremy Allison Date: Fri, 30 Mar 2007 23:23:45 +0000 (+0000) Subject: r22016: Try and fix the build - move things out of proto.h X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~810 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=29933600cff458f6599e4604f9e861cd20fc8e38;p=thirdparty%2Fsamba.git r22016: Try and fix the build - move things out of proto.h Jeremy. --- diff --git a/source/libsmb/smb_seal.c b/source/libsmb/smb_seal.c index fac451a6c59..836bd0a38f6 100644 --- a/source/libsmb/smb_seal.c +++ b/source/libsmb/smb_seal.c @@ -164,7 +164,7 @@ NTSTATUS common_ntlm_encrypt_buffer(NTLMSSP_STATE *ntlmssp_state, ******************************************************************************/ #if defined(HAVE_GSSAPI) && defined(HAVE_KRB5) -NTSTATUS common_gss_decrypt_buffer(struct smb_tran_enc_state_gss *gss_state, char *buf) +static NTSTATUS common_gss_decrypt_buffer(struct smb_tran_enc_state_gss *gss_state, char *buf) { gss_ctx_id_t gss_ctx = gss_state->gss_ctx; OM_uint32 ret = 0; @@ -215,7 +215,7 @@ NTSTATUS common_gss_decrypt_buffer(struct smb_tran_enc_state_gss *gss_state, cha gss-api encrypt an outgoing buffer. Return the alloced encrypted pointer in buf_out. ******************************************************************************/ -NTSTATUS common_gss_encrypt_buffer(struct smb_tran_enc_state_gss *gss_state, +static NTSTATUS common_gss_encrypt_buffer(struct smb_tran_enc_state_gss *gss_state, uint16 enc_ctx_num, char *buf, char **ppbuf_out)