vfs_catia: Make "srt_head" static to the module
authorVolker Lendecke <vl@samba.org>
Tue, 17 Oct 2017 09:20:20 +0000 (11:20 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 17 Oct 2017 12:55:07 +0000 (14:55 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_catia.c

index ce760ceefdab6681a979c7b7f45d2e02d06d15d3..9651cd3bed312447b82d33b60df312d3b5a1e936 100644 (file)
@@ -53,7 +53,7 @@ struct catia_cache {
        char *base_fname;
 };
 
-struct share_mapping_entry *srt_head = NULL;
+static struct share_mapping_entry *srt_head = NULL;
 
 static struct share_mapping_entry *get_srt(connection_struct *conn,
                                           struct share_mapping_entry **global)