From a77bbf6123247da8562cd5d438e24800390dc012 Mon Sep 17 00:00:00 2001 From: tg Date: Tue, 8 Dec 2009 19:23:34 +0000 Subject: [PATCH] HP aCC tells me I'm using "const" twice, and /usr/ccs/bin/cc even errors out here. Let's hope that this form will *still* have the entirety of that array in .rodata... XXX more to come, thanks to HP DSPP PvP, e.g. __attribute__ stuff --- expr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/expr.c b/expr.c index 47eaa0e..51fc711 100644 --- a/expr.c +++ b/expr.c @@ -22,7 +22,7 @@ #include "sh.h" -__RCSID("$MirOS: src/bin/mksh/expr.c,v 1.40 2009/12/05 20:17:58 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/expr.c,v 1.41 2009/12/08 19:23:34 tg Exp $"); /* The order of these enums is constrained by the order of opinfo[] */ enum token { @@ -818,7 +818,7 @@ utf_wcwidth(unsigned int c) static const struct cbset { unsigned short first; unsigned short last; - } const comb[] = { + } comb[] = { { 0x0300, 0x036F }, { 0x0483, 0x0486 }, { 0x0488, 0x0489 }, { 0x0591, 0x05BD }, { 0x05BF, 0x05BF }, { 0x05C1, 0x05C2 }, { 0x05C4, 0x05C5 }, { 0x05C7, 0x05C7 }, { 0x0600, 0x0603 },