summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/misc.c b/misc.c
index 868d3bc..ee0a597 100644
--- a/misc.c
+++ b/misc.c
@@ -520,13 +520,11 @@ end_of_token_w32 (s, stopchar)
char *
next_token (s)
- char *s;
+ const char *s;
{
- register char *p = s;
-
- while (isblank ((unsigned char)*p))
- ++p;
- return p;
+ while (isblank ((unsigned char)*s))
+ ++s;
+ return (char *)s;
}
/* Find the next token in PTR; return the address of it, and store the