static void patch_fn(struct cgit_context *ctx) { cgit_print_patch(ctx->qry.sha1, ctx->qry.path); }
static void patch_fn(void) { cgit_print_patch(ctx.qry.sha1, ctx.qry.sha2, ctx.qry.path); }