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
commita6d956962e42c3a784d9f603ad552c588a3ac5f8 (patch)
tree8e590714da1d480bef4ca2afbe81fa95c2624de6 /misc.c
parent15e2f5e1a9e18dc19a7a365980b70ff920c4c8a5 (diff)
downloadmake-a6d956962e42c3a784d9f603ad552c588a3ac5f8.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 868d3bcb..ee0a597f 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