Commit 7af813d4 authored by Eric Engestrom's avatar Eric Engestrom 💤 Committed by Marge Bot
Browse files

glx: use anonymous namespace to avoid -Wodr issues when building with LTO enabled


Signed-off-by: Eric Engestrom's avatarEric Engestrom <eric@engestrom.ch>
Reviewed-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
Tested-by: Marge Bot <mesa/mesa!2597>
Part-of: <mesa/mesa!2597>
parent 17d783b2
......@@ -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 }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment