summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/glx/tests/query_renderer_implementation_unittest.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/glx/tests/query_renderer_implementation_unittest.cpp b/src/glx/tests/query_renderer_implementation_unittest.cpp
index cf5fe16b398..c4bc170ed55 100644
--- a/src/glx/tests/query_renderer_implementation_unittest.cpp
+++ b/src/glx/tests/query_renderer_implementation_unittest.cpp
@@ -32,12 +32,14 @@
#include "GL/internal/dri_interface.h"
#include "dri2_priv.h"
-struct attribute_test_vector {
- const char *glx_string;
- const char *dri_string;
- int glx_attribute;
- int dri_attribute;
-};
+namespace {
+ struct attribute_test_vector {
+ const char *glx_string;
+ const char *dri_string;
+ int glx_attribute;
+ int dri_attribute;
+ };
+}
#define E(g, d) { # g, # d, g, d }