mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-12 08:43:53 -05:00
provide_xrm_string: make argument type const char *.
All call sites so far have happened to pass it a mutable string, but it doesn't actually need one.
This commit is contained in:
@ -301,9 +301,10 @@ static int keycmp(void *av, void *bv)
|
||||
return strcmp(a->key, b->key);
|
||||
}
|
||||
|
||||
void provide_xrm_string(char *string)
|
||||
void provide_xrm_string(const char *string)
|
||||
{
|
||||
char *p, *q, *key;
|
||||
const char *p, *q;
|
||||
char *key;
|
||||
struct skeyval *xrms, *ret;
|
||||
|
||||
p = q = strchr(string, ':');
|
||||
|
Reference in New Issue
Block a user