summaryrefslogtreecommitdiff
path: root/soltools
diff options
context:
space:
mode:
Diffstat (limited to 'soltools')
-rw-r--r--soltools/cpp/_eval.c6
-rw-r--r--soltools/cpp/_lex.c2
-rw-r--r--soltools/cpp/_nlist.c6
3 files changed, 7 insertions, 7 deletions
diff --git a/soltools/cpp/_eval.c b/soltools/cpp/_eval.c
index 3d19974da825..7efdd82715d9 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 const pri;
- char const arity;
- char const ctype;
+ char pri;
+ char arity;
+ char ctype;
};
static const struct pri priority[] =
diff --git a/soltools/cpp/_lex.c b/soltools/cpp/_lex.c
index dfd8605a3950..135c36ca4f93 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 const nextstate; /* enter this state if +ve */
+ int nextstate; /* enter this state if +ve */
};
static const struct fsm fsm[] = {
diff --git a/soltools/cpp/_nlist.c b/soltools/cpp/_nlist.c
index 557de6c1fc80..096cc525fd40 100644
--- a/soltools/cpp/_nlist.c
+++ b/soltools/cpp/_nlist.c
@@ -38,9 +38,9 @@ static Nlist *nlist[NLSIZE];
struct kwtab
{
- char * const kw;
- int const val;
- int const flag;
+ char *kw;
+ int val;
+ int flag;
};
static const struct kwtab kwtab[] =