summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2002-07-08 02:26:47 +0000
committerPaul Smith <psmith@gnu.org>2002-07-08 02:26:47 +0000
commit8572d6adf04d397505770b0b0d5cfd91cf6a92a8 (patch)
tree8e590714da1d480bef4ca2afbe81fa95c2624de6 /misc.c
parent4a073980236d80b47a24c5caea3ece4e9bb7e044 (diff)
downloadgunmake-8572d6adf04d397505770b0b0d5cfd91cf6a92a8.tar.gz
Major updates in preparation for 3.80.
New version of the manual, put into the doc subdir. Enhancements: $(eval ...) and $(value ...) functions, various bug fixes, etc. See the ChangeLog. More to come.
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