summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index bd2df97..4db4289 100644
--- a/src/main.c
+++ b/src/main.c
@@ -39,6 +39,8 @@ static const char install_root[] = "install";
static const char *repo_filename = system_repo_filename;
static const char *yum_url;
+#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
+
static int
command_list(int argc, const char *argv[])
{