summaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/rpc_scan.c4
-rw-r--r--sunrpc/rpc_util.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sunrpc/rpc_scan.c b/sunrpc/rpc_scan.c
index acffab2a89..1c486d1715 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 a5fa727afe..fd696116c9 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