aboutsummaryrefslogtreecommitdiff
path: root/gdb/unittests/optional
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/unittests/optional')
-rw-r--r--gdb/unittests/optional/assignment/1.cc2
-rw-r--r--gdb/unittests/optional/assignment/2.cc2
-rw-r--r--gdb/unittests/optional/assignment/3.cc2
-rw-r--r--gdb/unittests/optional/assignment/4.cc2
-rw-r--r--gdb/unittests/optional/assignment/5.cc2
-rw-r--r--gdb/unittests/optional/assignment/6.cc2
6 files changed, 6 insertions, 6 deletions
diff --git a/gdb/unittests/optional/assignment/1.cc b/gdb/unittests/optional/assignment/1.cc
index f711c4d..80eaa24 100644
--- a/gdb/unittests/optional/assignment/1.cc
+++ b/gdb/unittests/optional/assignment/1.cc
@@ -19,7 +19,7 @@ namespace assign_1 {
struct exception {};
-int counter = 0;
+static int counter = 0;
struct mixin_counter
{
diff --git a/gdb/unittests/optional/assignment/2.cc b/gdb/unittests/optional/assignment/2.cc
index fdc07f1..85c41c5 100644
--- a/gdb/unittests/optional/assignment/2.cc
+++ b/gdb/unittests/optional/assignment/2.cc
@@ -19,7 +19,7 @@ namespace assign_2 {
struct exception {};
-int counter = 0;
+static int counter = 0;
struct mixin_counter
{
diff --git a/gdb/unittests/optional/assignment/3.cc b/gdb/unittests/optional/assignment/3.cc
index e479f9c..03f6018 100644
--- a/gdb/unittests/optional/assignment/3.cc
+++ b/gdb/unittests/optional/assignment/3.cc
@@ -19,7 +19,7 @@ namespace assign_3 {
struct exception {};
-int counter = 0;
+static int counter = 0;
struct mixin_counter
{
diff --git a/gdb/unittests/optional/assignment/4.cc b/gdb/unittests/optional/assignment/4.cc
index 2bfe562..aa04292 100644
--- a/gdb/unittests/optional/assignment/4.cc
+++ b/gdb/unittests/optional/assignment/4.cc
@@ -19,7 +19,7 @@ namespace assign_4 {
struct exception {};
-int counter = 0;
+static int counter = 0;
struct mixin_counter
{
diff --git a/gdb/unittests/optional/assignment/5.cc b/gdb/unittests/optional/assignment/5.cc
index 4112e9f..8c27e7b 100644
--- a/gdb/unittests/optional/assignment/5.cc
+++ b/gdb/unittests/optional/assignment/5.cc
@@ -17,7 +17,7 @@
namespace assign_5 {
-int counter = 0;
+static int counter = 0;
struct mixin_counter
{
diff --git a/gdb/unittests/optional/assignment/6.cc b/gdb/unittests/optional/assignment/6.cc
index 423b3e7..da01fd5 100644
--- a/gdb/unittests/optional/assignment/6.cc
+++ b/gdb/unittests/optional/assignment/6.cc
@@ -17,7 +17,7 @@
namespace assign_6 {
-int counter = 0;
+static int counter = 0;
struct mixin_counter
{