From f2d74710d6e520be20808be9bce5f515f2cb0edd Mon Sep 17 00:00:00 2001 From: Vlasta Vesely Date: Sat, 2 Jun 2018 14:22:19 +0200 Subject: [PATCH] add forgotten 'static' keyword --- encoder.c | 2 +- main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/encoder.c b/encoder.c index 618bc02..441b480 100644 --- a/encoder.c +++ b/encoder.c @@ -33,7 +33,7 @@ static const struct encoder_tuple table[] = { {NULL, NULL} }; -const struct encoder_tuple *find_tuple(const char *text) +static const struct encoder_tuple *find_tuple(const char *text) { const struct encoder_tuple *walk = table; diff --git a/main.c b/main.c index a8adc69..87ebf93 100644 --- a/main.c +++ b/main.c @@ -14,7 +14,7 @@ #define FLAG_ENCODE 1 << 2 -const char *usage_str = +static const char *usage_str = "iast, a sanskrit transliteration helper.\n" "\n" "usage:\n"