aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r--gcc/diagnostic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index db05103..120441f 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -832,7 +832,7 @@ char *
diagnostic_build_prefix (diagnostic)
diagnostic_info *diagnostic;
{
- static const char *diagnostic_kind_text[] = {
+ static const char *const diagnostic_kind_text[] = {
#define DEFINE_DIAGNOSTIC_KIND(K, T) (T),
#include "diagnostic.def"
#undef DEFINE_DIAGNOSTIC_KIND