summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-07 21:02:11 +0100
committerVolker Lendecke <vl@samba.org>2008-11-08 10:42:29 +0100
commit5a33e906f651ea84ec909fd6453e13a9489bd391 (patch)
tree0683fb3a7449a1c3c65404e901f3f08354ea0f9b /source3
parent8315677ca3ca9eed62fe6e24bac333b9b5dc763b (diff)
downloadsamba-5a33e906f651ea84ec909fd6453e13a9489bd391.tar.gz
Make "construct_reply_common" static
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/smbd/process.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 96ed71657d9..5f9203a21f8 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -8233,7 +8233,6 @@ void reply_outbuf(struct smb_request *req, uint8 num_words, uint32 num_bytes);
const char *smb_fn_name(int type);
void add_to_common_flags2(uint32 v);
void remove_from_common_flags2(uint32 v);
-void construct_reply_common(const char *inbuf, char *outbuf);
void construct_reply_common_req(struct smb_request *req, char *outbuf);
void chain_reply(struct smb_request *req);
void check_reload(time_t t);
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 7931fbebab9..b3cd2f26c8b 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -37,6 +37,8 @@ SIG_ATOMIC_T got_sig_term = 0;
extern bool global_machine_password_needs_changing;
extern int max_send;
+static void construct_reply_common(const char *inbuf, char *outbuf);
+
/* Accessor function for smb_read_error for smbd functions. */
/****************************************************************************
@@ -1590,7 +1592,7 @@ void remove_from_common_flags2(uint32 v)
common_flags2 &= ~v;
}
-void construct_reply_common(const char *inbuf, char *outbuf)
+static void construct_reply_common(const char *inbuf, char *outbuf)
{
srv_set_message(outbuf,0,0,false);