copyright: Make strings static const
They are not used anywhere else.
This commit is contained in:
@@ -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[])
|
||||||
|
|||||||
Reference in New Issue
Block a user