s3: Make send_nt_replies() static
authorVolker Lendecke <vl@samba.org>
Wed, 13 Apr 2011 13:40:15 +0000 (15:40 +0200)
committerVolker Lendecke <vlendec@samba.org>
Wed, 13 Apr 2011 14:25:29 +0000 (16:25 +0200)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Apr 13 16:25:29 CEST 2011 on sn-devel-104

source3/smbd/nttrans.c
source3/smbd/proto.h

index 2b540187d9ce449d2cb044f31b134bf3595a736a..2dd5715c89cc57f7a1f3b50674fb17ddb29ce84a 100644 (file)
@@ -52,10 +52,10 @@ static char *nttrans_realloc(char **ptr, size_t size)
  HACK ! Always assumes smb_setup field is zero.
 ****************************************************************************/
 
  HACK ! Always assumes smb_setup field is zero.
 ****************************************************************************/
 
-void send_nt_replies(connection_struct *conn,
-                       struct smb_request *req, NTSTATUS nt_error,
-                    char *params, int paramsize,
-                    char *pdata, int datasize)
+static void send_nt_replies(connection_struct *conn,
+                           struct smb_request *req, NTSTATUS nt_error,
+                           char *params, int paramsize,
+                           char *pdata, int datasize)
 {
        int data_to_send = datasize;
        int params_to_send = paramsize;
 {
        int data_to_send = datasize;
        int params_to_send = paramsize;
index a0c94b46c6d19194d47862730df191b1cce747de..c09720267617305953751320a3fd28a474be9287 100644 (file)
@@ -504,10 +504,6 @@ void *init_quota_handle(TALLOC_CTX *mem_ctx);
 
 /* The following definitions come from smbd/nttrans.c  */
 
 
 /* The following definitions come from smbd/nttrans.c  */
 
-void send_nt_replies(connection_struct *conn,
-                       struct smb_request *req, NTSTATUS nt_error,
-                    char *params, int paramsize,
-                    char *pdata, int datasize);
 void reply_ntcreate_and_X(struct smb_request *req);
 NTSTATUS set_sd(files_struct *fsp, uint8_t *data, uint32_t sd_len,
                        uint32_t security_info_sent);
 void reply_ntcreate_and_X(struct smb_request *req);
 NTSTATUS set_sd(files_struct *fsp, uint8_t *data, uint32_t sd_len,
                        uint32_t security_info_sent);