summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-02-28 03:07:51 +0100
committerMichael Adam <obnox@samba.org>2012-03-03 17:03:06 +0100
commitd2763561686d562f52a7d6739526bfd9ee277e3a (patch)
tree54dd5ace3330a73273c9eb7264494d2f9a401db6 /source4/torture
parent79576df9f0492454a5d09ae59f4fb7ba7421c1ac (diff)
downloadsamba-d2763561686d562f52a7d6739526bfd9ee277e3a.tar.gz
samba-d2763561686d562f52a7d6739526bfd9ee277e3a.tar.bz2
samba-d2763561686d562f52a7d6739526bfd9ee277e3a.zip
s4:torture:smb2: durable-open: make tables static
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/smb2/durable_open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/smb2/durable_open.c b/source4/torture/smb2/durable_open.c
index bd11d707e0..a46eb74a4e 100644
--- a/source4/torture/smb2/durable_open.c
+++ b/source4/torture/smb2/durable_open.c
@@ -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 },