diff options
Diffstat (limited to 'src/app_del.c')
-rw-r--r-- | src/app_del.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app_del.c b/src/app_del.c index 390a99a..f8fd524 100644 --- a/src/app_del.c +++ b/src/app_del.c @@ -131,8 +131,9 @@ static void delete_name(struct apk_database *db, const char *match, apk_deps_del(&ctx->world, name); } -static int del_main(void *pctx, struct apk_database *db, struct apk_string_array *args) +static int del_main(void *pctx, struct apk_ctx *ac, struct apk_string_array *args) { + struct apk_database *db = ac->db; struct del_ctx *ctx = (struct del_ctx *) pctx; struct not_deleted_ctx ndctx = { .out = &db->ctx->out }; struct apk_changeset changeset = {}; |