diff options
author | Volker Lendecke <vl@samba.org> | 2008-11-07 21:02:11 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-11-08 10:42:29 +0100 |
commit | 5a33e906f651ea84ec909fd6453e13a9489bd391 (patch) | |
tree | 0683fb3a7449a1c3c65404e901f3f08354ea0f9b | |
parent | 8315677ca3ca9eed62fe6e24bac333b9b5dc763b (diff) | |
download | samba-5a33e906f651ea84ec909fd6453e13a9489bd391.tar.gz samba-5a33e906f651ea84ec909fd6453e13a9489bd391.tar.bz2 samba-5a33e906f651ea84ec909fd6453e13a9489bd391.zip |
Make "construct_reply_common" static
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/smbd/process.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 96ed71657d..5f9203a21f 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 7931fbebab..b3cd2f26c8 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); |