Constify the input argument to brk_string.
Patch: 7.106 Submitted by: Max Okumoto <okumoto@ucsd.edu>
This commit is contained in:
parent
c4487a484d
commit
3cc51195c4
@ -117,10 +117,12 @@ str_concat(const char *s1, const char *s2, int flags)
|
||||
* the first word is always the value of the .MAKE variable.
|
||||
*/
|
||||
char **
|
||||
brk_string(char *str, int *store_argc, Boolean expand)
|
||||
brk_string(const char *str, int *store_argc, Boolean expand)
|
||||
{
|
||||
int argc, ch;
|
||||
char inquote, *p, *start, *t;
|
||||
char inquote;
|
||||
const char *p;
|
||||
char *start, *t;
|
||||
int len;
|
||||
|
||||
/* skip leading space chars. */
|
||||
|
@ -57,7 +57,7 @@ struct Buffer;
|
||||
|
||||
void str_init(void);
|
||||
char *str_concat(const char *, const char *, int);
|
||||
char **brk_string(char *, int *, Boolean);
|
||||
char **brk_string(const char *, int *, Boolean);
|
||||
char *MAKEFLAGS_quote(const char *);
|
||||
char **MAKEFLAGS_break(const char *, int *);
|
||||
int Str_Match(const char *, const char *);
|
||||
|
Loading…
x
Reference in New Issue
Block a user