From f6437fcbe724ac1773eac208664d4e85d74a8f80 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Wed, 3 Jul 2024 17:52:08 +0100 Subject: [PATCH] make static --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.c b/src/util.c index 4924672..9efb820 100644 --- a/src/util.c +++ b/src/util.c @@ -72,7 +72,7 @@ int replace_multiple_space_with_one(char *s, size_t len) */ char *kind_as_string(char *s, int kind, int n) { - char *kinds[] = { + static const char *kinds[] = { "Basic", "Banana", "Potato",