swrast: Fix -Wduplicate-decl-specifier warning
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>
Fri, 2 Jan 2015 03:54:41 +0000 (19:54 -0800)
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>
Fri, 2 Jan 2015 03:55:43 +0000 (19:55 -0800)
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 <jeremyhu@apple.com>
src/mesa/drivers/dri/swrast/swrast.c

index e8a2c12d71cda4219c861084ac2a10c92563c3fa..d62fed30cc540de35800d424990342ed11a0955c 100644 (file)
@@ -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