subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1571511 - in /subversion/trunk/subversion/tests/libsvn_subr: named_atomic-test-common.h named_atomic-test.c
Date Tue, 25 Feb 2014 01:20:06 GMT
Author: danielsh
Date: Tue Feb 25 01:20:06 2014
New Revision: 1571511

URL: http://svn.apache.org/r1571511
Log:
Re-do a portion of r1571499 that broke the build (and was therefore hotfix-
reverted in r1571500).

* subversion/tests/libsvn_subr/named_atomic-test-common.h
  (name_namespace): Mark static.
  (name_namespace1, name_namespace2): Remove as unused, and..

* subversion/tests/libsvn_subr/named_atomic-test.c
  (name_namespace1, name_namespace2): .. declare them here, instead, as static.

Modified:
    subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test-common.h
    subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test.c

Modified: subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test-common.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test-common.h?rev=1571511&r1=1571510&r2=1571511&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test-common.h (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test-common.h Tue Feb 25 01:20:06
2014
@@ -37,9 +37,7 @@
 #define HUGE_VALUE 1234567890123456ll
 
 /* to separate this code from any production environment */
-const char *name_namespace = NULL;
-const char *name_namespace1 = NULL;
-const char *name_namespace2 = NULL;
+static const char *name_namespace = NULL;
 
 /* data structure containing all information we need to check for
  * a) passing some deadline

Modified: subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test.c?rev=1571511&r1=1571510&r2=1571511&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test.c Tue Feb 25 01:20:06
2014
@@ -34,6 +34,10 @@
 /* shared test implementation */
 #include "named_atomic-test-common.h"
 
+/* to separate this code from any production environment */
+static const char *name_namespace1 = NULL;
+static const char *name_namespace2 = NULL;
+
 /* Name of the worker process executable */
 #define TEST_PROC "named_atomic-proc-test"
 



Mime
View raw message