s3: smbd: Change open_streams_for_delete() to static.
authorJeremy Allison <jra@samba.org>
Fri, 4 Mar 2016 22:13:22 +0000 (14:13 -0800)
committerRalph Boehme <slow@samba.org>
Mon, 7 Mar 2016 16:58:17 +0000 (17:58 +0100)
Not used outside of open.c

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/open.c
source3/smbd/proto.h

index 0b3a4c287a5782f8bed896248e5a7a214474a9de..d2e79cafb0e9a40c1c8d2afb75193dd4246a06b4 100644 (file)
@@ -3849,7 +3849,7 @@ void msg_file_was_renamed(struct messaging_context *msg,
  * If that works, delete them all by setting the delete on close and close.
  */
 
-NTSTATUS open_streams_for_delete(connection_struct *conn,
+static NTSTATUS open_streams_for_delete(connection_struct *conn,
                                        const char *fname)
 {
        struct stream_struct *stream_info = NULL;
index 1963fb3da4267609387d92a9c380015bd9f20a09..a859cb6a966d1dcca921f5df8b3c3a259724777b 100644 (file)
@@ -647,8 +647,6 @@ void msg_file_was_renamed(struct messaging_context *msg,
                          uint32_t msg_type,
                          struct server_id server_id,
                          DATA_BLOB *data);
-NTSTATUS open_streams_for_delete(connection_struct *conn,
-                                const char *fname);
 int find_share_mode_lease(struct share_mode_data *d,
                          const struct GUID *client_guid,
                          const struct smb2_lease_key *key);