summaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-01-13 14:09:45 +0200
committerTimo Teras <timo.teras@iki.fi>2009-01-13 14:09:45 +0200
commit3755e1cde35828aad4af0578d4271af6b7d57b61 (patch)
tree474c3fc5f5cd064b3b301cabe5e5d2bf09825461 /src/index.c
parent0a7910c144568d8c22a99e359d9c3caf087bc368 (diff)
downloadapk-tools-3755e1cde35828aad4af0578d4271af6b7d57b61.tar.gz
apk-tools-3755e1cde35828aad4af0578d4271af6b7d57b61.tar.bz2
apk-tools-3755e1cde35828aad4af0578d4271af6b7d57b61.tar.xz
apk-tools-3755e1cde35828aad4af0578d4271af6b7d57b61.zip
apk: per applet options
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.c b/src/index.c
index 91d1ce6..81adc51 100644
--- a/src/index.c
+++ b/src/index.c
@@ -39,7 +39,7 @@ static int warn_if_no_providers(apk_hash_item item, void *ctx)
return 0;
}
-static int index_main(int argc, char **argv)
+static int index_main(void *ctx, int argc, char **argv)
{
struct apk_database db;
struct counts counts = {0,0};