mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Add a couple of missing 'static' qualifiers.
This commit is contained in:
parent
07f99e6e82
commit
e655053942
@ -299,7 +299,7 @@ struct skeyval {
|
|||||||
|
|
||||||
static tree234 *xrmtree = NULL;
|
static tree234 *xrmtree = NULL;
|
||||||
|
|
||||||
int keycmp(void *av, void *bv)
|
static int keycmp(void *av, void *bv)
|
||||||
{
|
{
|
||||||
struct skeyval *a = (struct skeyval *)av;
|
struct skeyval *a = (struct skeyval *)av;
|
||||||
struct skeyval *b = (struct skeyval *)bv;
|
struct skeyval *b = (struct skeyval *)bv;
|
||||||
@ -340,7 +340,7 @@ void provide_xrm_string(char *string)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *get_setting(const char *key)
|
static const char *get_setting(const char *key)
|
||||||
{
|
{
|
||||||
struct skeyval tmp, *ret;
|
struct skeyval tmp, *ret;
|
||||||
tmp.key = key;
|
tmp.key = key;
|
||||||
|
Loading…
Reference in New Issue
Block a user