summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-06-23 17:31:32 -0400
committerKristian Høgsberg <krh@redhat.com>2008-06-23 17:31:32 -0400
commit3a4df91a3c128e626ff1b83b5fd08c4f749dbd83 (patch)
treeb82f8542b9b82d738bd7408ca288f4f18a4bd54f /src
parent3c711911fba4ac0eea9fc74e0d9a181fb1e3c14b (diff)
Nuke ARRAY_SIZE and obsolete razor_set_list_unsatisfied from razor.h.
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[])
{