Fixes the following Clang warning.
In file included from radeon_debug.c:32:
./radeon_common_context.h:500:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
extern const char const *radeonVendorString;
v2: - do not remove the duplicate 'const' qualifier, fix it
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
}
}
-const char const *radeonVendorString = "Mesa Project";
+const char *const radeonVendorString = "Mesa Project";
/* Return complete renderer string.
*/
return radeon->driContext->driReadablePriv;
}
-extern const char const *radeonVendorString;
+extern const char *const radeonVendorString;
const char *radeonGetRendererString(radeonScreenPtr radeonScreen);