diff options
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/rpc_scan.c | 4 | ||||
-rw-r--r-- | sunrpc/rpc_util.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sunrpc/rpc_scan.c b/sunrpc/rpc_scan.c index acffab2..1c486d1 100644 --- a/sunrpc/rpc_scan.c +++ b/sunrpc/rpc_scan.c @@ -450,10 +450,10 @@ static const token symbols[] = }; static void -findkind (const char **mark, token * tokp) +findkind (const char **mark, token *tokp) { int len; - token *s; + const token *s; const char *str; char *tmp; diff --git a/sunrpc/rpc_util.c b/sunrpc/rpc_util.c index a5fa727..fd69611 100644 --- a/sunrpc/rpc_util.c +++ b/sunrpc/rpc_util.c @@ -398,10 +398,10 @@ static const token tokstrings[] = static const char * toktostr (tok_kind kind) { - token *sp; + const token *sp; for (sp = tokstrings; sp->kind != TOK_EOF && sp->kind != kind; sp++); - return (sp->str); + return sp->str; } static void |