From 7eeeb28e45ae4d436bdccad1d519cfcb81c0762d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 19 Dec 2014 19:18:48 +0100 Subject: [PATCH] import: Verb[] array can be static, too --- src/import/import.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/import/import.c b/src/import/import.c index 9bade38c3..6fd3eeb2b 100644 --- a/src/import/import.c +++ b/src/import/import.c @@ -163,7 +163,7 @@ static int parse_argv(int argc, char *argv[]) { switch (c) { case 'h': - return help(argc, argv, NULL); + return help(0, NULL, NULL); case ARG_VERSION: puts(PACKAGE_STRING); @@ -186,7 +186,7 @@ static int parse_argv(int argc, char *argv[]) { static int import_main(int argc, char *argv[]) { - const Verb verbs[] = { + static const Verb verbs[] = { { "help", VERB_ANY, VERB_ANY, 0, help }, { "pull-dck", 2, 3, 0, pull_dck }, {} -- 2.30.2