copyright: Make strings static const

They are not used anywhere else.
This commit is contained in:
Tobias Brunner 2020-01-28 11:17:22 +01:00
parent 90df054f14
commit cab86465bb
1 changed files with 3 additions and 3 deletions

View File

@ -58,14 +58,14 @@ static const char *copyright[] = {
NULL, NULL,
}; };
char usage[] = "Usage: ipsec _copyright"; static const char usage[] = "Usage: ipsec _copyright";
struct option opts[] = { static const struct option opts[] = {
{"help", 0, NULL, 'h',}, {"help", 0, NULL, 'h',},
{"version", 0, NULL, 'v',}, {"version", 0, NULL, 'v',},
{0, 0, NULL, 0, }, {0, 0, NULL, 0, },
}; };
char me[] = "ipsec _copyright"; /* for messages */ static const char me[] = "ipsec _copyright"; /* for messages */
int int
main(int argc, char *argv[]) main(int argc, char *argv[])