s4:torture:smb2: durable-open: make tables static
authorMichael Adam <obnox@samba.org>
Tue, 28 Feb 2012 02:07:51 +0000 (03:07 +0100)
committerMichael Adam <obnox@samba.org>
Sat, 3 Mar 2012 16:03:06 +0000 (17:03 +0100)
source4/torture/smb2/durable_open.c

index bd11d707e004d8878d3ad79d4bd0e2d3cc42d12d..a46eb74a4e9fb7a6cc59043a2813af6136771812 100644 (file)
@@ -69,7 +69,7 @@ struct durable_open_vs_oplock {
 #define NUM_OPLOCK_TYPES 4
 #define NUM_SHARE_MODES 8
 #define NUM_OPLOCK_OPEN_TESTS ( NUM_OPLOCK_TYPES * NUM_SHARE_MODES )
-struct durable_open_vs_oplock durable_open_vs_oplock_table[NUM_OPLOCK_OPEN_TESTS] =
+static struct durable_open_vs_oplock durable_open_vs_oplock_table[NUM_OPLOCK_OPEN_TESTS] =
 {
        { "", "", false },
        { "", "R", false },
@@ -194,7 +194,7 @@ struct durable_open_vs_lease {
 
 #define NUM_LEASE_TYPES 5
 #define NUM_LEASE_OPEN_TESTS ( NUM_LEASE_TYPES * NUM_SHARE_MODES )
-struct durable_open_vs_lease durable_open_vs_lease_table[NUM_LEASE_OPEN_TESTS] =
+static struct durable_open_vs_lease durable_open_vs_lease_table[NUM_LEASE_OPEN_TESTS] =
 {
        { "", "", false },
        { "", "R", false },