diff options
Diffstat (limited to 'soltools')
-rw-r--r-- | soltools/cpp/_eval.c | 6 | ||||
-rw-r--r-- | soltools/cpp/_lex.c | 2 | ||||
-rw-r--r-- | soltools/cpp/_nlist.c | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/soltools/cpp/_eval.c b/soltools/cpp/_eval.c index 48526b76e94b..aabf212a8c31 100644 --- a/soltools/cpp/_eval.c +++ b/soltools/cpp/_eval.c @@ -43,9 +43,9 @@ struct value /* operator priority, arity, and conversion type, indexed by tokentype */ struct pri { - char pri; - char arity; - char ctype; + char const pri; + char const arity; + char const ctype; }; static struct pri priority[] = diff --git a/soltools/cpp/_lex.c b/soltools/cpp/_lex.c index 70c808b87187..466a16078d9d 100644 --- a/soltools/cpp/_lex.c +++ b/soltools/cpp/_lex.c @@ -68,7 +68,7 @@ struct fsm { int state; /* if in this state */ uchar ch[4]; /* and see one of these characters */ - int nextstate; /* enter this state if +ve */ + int const nextstate; /* enter this state if +ve */ }; static /*const*/ struct fsm fsm[] = { diff --git a/soltools/cpp/_nlist.c b/soltools/cpp/_nlist.c index 20118f363b83..b365cba5d7b3 100644 --- a/soltools/cpp/_nlist.c +++ b/soltools/cpp/_nlist.c @@ -38,9 +38,9 @@ static Nlist *nlist[NLSIZE]; struct kwtab { - char *kw; - int val; - int flag; + char * const kw; + int const val; + int const flag; }; static struct kwtab kwtab[] = |