From e655053942b788d63513def4ba4d92dd9f396675 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 6 Oct 2018 11:46:37 +0100 Subject: [PATCH] Add a couple of missing 'static' qualifiers. --- unix/uxstore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unix/uxstore.c b/unix/uxstore.c index 54a20b8a..155f3647 100644 --- a/unix/uxstore.c +++ b/unix/uxstore.c @@ -299,7 +299,7 @@ struct skeyval { 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 *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; tmp.key = key;