From cab86465bb3cf09d11bd847cb1620569963c68f2 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 28 Jan 2020 11:17:22 +0100 Subject: [PATCH] copyright: Make strings static const They are not used anywhere else. --- src/_copyright/_copyright.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/_copyright/_copyright.c b/src/_copyright/_copyright.c index 038e60e87..3862fba34 100644 --- a/src/_copyright/_copyright.c +++ b/src/_copyright/_copyright.c @@ -58,14 +58,14 @@ static const char *copyright[] = { NULL, }; -char usage[] = "Usage: ipsec _copyright"; -struct option opts[] = { +static const char usage[] = "Usage: ipsec _copyright"; +static const struct option opts[] = { {"help", 0, NULL, 'h',}, {"version", 0, NULL, 'v',}, {0, 0, NULL, 0, }, }; -char me[] = "ipsec _copyright"; /* for messages */ +static const char me[] = "ipsec _copyright"; /* for messages */ int main(int argc, char *argv[])