summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2022-03-16 21:03:02 (EDT)
committer P. J. McDermott <pj@pehjota.net>2022-03-17 14:24:50 (EDT)
commitf77665e112ceb0e749f8f3365a5a37139f4ef63a (patch)
tree3d13b11f4e41b48ad2705fd87f2544b777570e4f
parent3e666656dc9ac50dd3bf36d35d70c403dd860c9f (diff)
downloadatsign-f77665e112ceb0e749f8f3365a5a37139f4ef63a.zip
atsign-f77665e112ceb0e749f8f3365a5a37139f4ef63a.tar.gz
atsign-f77665e112ceb0e749f8f3365a5a37139f4ef63a.tar.bz2
main: Make (struct option) variable static const
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 4abf977..bb4abb5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -34,7 +34,7 @@
extern const char *PACKAGE_VERSION_GIT;
#if defined(HAVE_GETOPT_LONG) && HAVE_GETOPT_LONG
-struct option LONGOPTS_[] = {
+static const struct option LONGOPTS_[] = {
{
.name = "list-formats",
.has_arg = 0,