summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/swrast
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <[email protected]>2015-01-01 19:54:41 -0800
committerJeremy Huddleston Sequoia <[email protected]>2015-01-01 19:55:43 -0800
commit61711316f50294959e48156229f1383002e1cdb8 (patch)
tree5403e3d24740a874a61030ff01c607c418737fdd /src/mesa/drivers/dri/swrast
parentc3260f8d98fa5acf3f9d7b47bc0213a0928ff215 (diff)
swrast: Fix -Wduplicate-decl-specifier warning
swrast.c:67:12: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] const char const *swrast_vendor_string = "Mesa Project"; ^ swrast.c:68:12: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] const char const *swrast_renderer_string = "Software Rasterizer"; ^ Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/swrast')
-rw-r--r--src/mesa/drivers/dri/swrast/swrast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c
index e8a2c12d71c..d62fed30cc5 100644
--- a/src/mesa/drivers/dri/swrast/swrast.c
+++ b/src/mesa/drivers/dri/swrast/swrast.c
@@ -61,8 +61,8 @@
const __DRIextension **__driDriverGetExtensions_swrast(void);
-const char const *swrast_vendor_string = "Mesa Project";
-const char const *swrast_renderer_string = "Software Rasterizer";
+const char * const swrast_vendor_string = "Mesa Project";
+const char * const swrast_renderer_string = "Software Rasterizer";
/**
* Screen and config-related functions