summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-05-19 10:46:35 +0200
committerStefan Metzmacher <metze@samba.org>2009-05-20 15:42:58 +0200
commitc14dd15c6a802729f46857630b1df83987d9a11c (patch)
treeaf1540fc888b4dd0abfdfbfe6b98d52fdf52324f /source3/smbd
parent688945a994660fa905836b55a995bb90c3e8e67a (diff)
downloadsamba-c14dd15c6a802729f46857630b1df83987d9a11c.tar.gz
samba-c14dd15c6a802729f46857630b1df83987d9a11c.tar.bz2
samba-c14dd15c6a802729f46857630b1df83987d9a11c.zip
s3:smbd: make negprot_spnego() non static
metze
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/globals.h2
-rw-r--r--source3/smbd/negprot.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index e69243f4b4..3001189867 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -202,6 +202,8 @@ extern int num_children;
struct tstream_context;
struct smbd_smb2_request;
+DATA_BLOB negprot_spnego(void);
+
bool smbd_is_smb2_header(const uint8_t *inbuf, size_t size);
void smbd_smb2_first_negprot(struct smbd_server_connection *conn,
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index e548c587c1..b3eb698a37 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -166,7 +166,7 @@ static void reply_lanman2(struct smb_request *req, uint16 choice)
Generate the spnego negprot reply blob. Return the number of bytes used.
****************************************************************************/
-static DATA_BLOB negprot_spnego(void)
+DATA_BLOB negprot_spnego(void)
{
DATA_BLOB blob;
nstring dos_name;