s4:torture:smb2: make test pattern tables static
authorGregor Beck <gbeck@sernet.de>
Thu, 22 Aug 2013 10:06:40 +0000 (12:06 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 9 May 2014 10:58:19 +0000 (12:58 +0200)
source4/torture/smb2/durable_v2_open.c

index 2cfa2427d0ef3d12350a39724b04a0653653e075..a0a07dfd2d6e60975350ec770fd057f6d8ad8ac5 100644 (file)
@@ -1619,7 +1619,7 @@ done:
  * This test tests durable open with all possible oplock types.
  */
 
-struct durable_open_vs_oplock persistent_open_oplock_ca_table[NUM_OPLOCK_OPEN_TESTS] =
+static struct durable_open_vs_oplock persistent_open_oplock_ca_table[NUM_OPLOCK_OPEN_TESTS] =
 {
        { "", "", true, true },
        { "", "R", true, true },
@@ -1700,7 +1700,7 @@ bool test_persistent_open_oplock(struct torture_context *tctx,
  * This test tests persistent open with all valid lease types.
  */
 
-struct durable_open_vs_lease persistent_open_lease_ca_table[NUM_LEASE_OPEN_TESTS] =
+static struct durable_open_vs_lease persistent_open_lease_ca_table[NUM_LEASE_OPEN_TESTS] =
 {
        { "", "", true, true },
        { "", "R", true, true },