summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-19 19:18:48 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-19 19:19:29 +0100
commit7eeeb28e45ae4d436bdccad1d519cfcb81c0762d (patch)
treea25df278691c42e1714eeb3aa520ce71b5844e56 /src
parent43343ee7c298dad8db0698b4c181a42ecb7bb216 (diff)
import: Verb[] array can be static, too
Diffstat (limited to 'src')
-rw-r--r--src/import/import.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/import.c b/src/import/import.c
index 9bade38c3a..6fd3eeb2bc 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 },
{}