blob: e754e055f16f7fa5efd865dd72f51395ab708295 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
diff --git a/runtime/tests/jvmtitests/src/com/ibm/jvmti/tests/traceSubscription/ts001.c b/runtime/tests/jvmtitests/src/com/ibm/jvmti/tests/traceSubscription/ts001.c
index 97843fc7c..a2cc3ffe6 100644
--- a/runtime/tests/jvmtitests/src/com/ibm/jvmti/tests/traceSubscription/ts001.c
+++ b/runtime/tests/jvmtitests/src/com/ibm/jvmti/tests/traceSubscription/ts001.c
@@ -35,7 +35,7 @@ static jvmtiExtensionFunction subscribe = NULL;
static jvmtiExtensionFunction unsubscribe = NULL;
static jvmtiExtensionFunction flush = NULL;
static jvmtiExtensionFunction metadata = NULL;
-void *subscriptionID;
+static void *subscriptionID;
volatile static jint bufferCount = 0;
volatile static jint bufferCountFinal = 0;
volatile static int completed = 0;
diff --git a/runtime/tests/jvmtitests/src/com/ibm/jvmti/tests/verboseGC/vgc001.c b/runtime/tests/jvmtitests/src/com/ibm/jvmti/tests/verboseGC/vgc001.c
index 2fda9e8bd..d11047e44 100644
--- a/runtime/tests/jvmtitests/src/com/ibm/jvmti/tests/verboseGC/vgc001.c
+++ b/runtime/tests/jvmtitests/src/com/ibm/jvmti/tests/verboseGC/vgc001.c
@@ -31,15 +31,15 @@ static agentEnv * env;
static jvmtiExtensionFunction subscribe = NULL;
static jvmtiExtensionFunction unsubscribe = NULL;
-void *subscriptionID;
+static void *subscriptionID;
volatile static jint bufferCount = 0;
volatile static int alarmed = 0;
-void *subscriptionID2;
+static void *subscriptionID2;
volatile static jint bufferCount2 = 0;
volatile static int alarmed2 = 0;
-void *subscriptionID3;
+static void *subscriptionID3;
volatile static jint bufferCount3 = 0;
volatile static int alarmed3 = 0;
|