static void snapshot_fn(void)
{
cgit_print_snapshot(ctx.qry.head, ctx.qry.sha1, ctx.qry.path,
- ctx.repo->snapshots, ctx.qry.nohead);
+ ctx.qry.nohead);
}
static void stats_fn(void)
}
void cgit_print_snapshot(const char *head, const char *hex,
- const char *filename, int snapshots, int dwim)
+ const char *filename, int dwim)
{
const struct cgit_snapshot_format* f;
char *prefix = NULL;
#define UI_SNAPSHOT_H
extern void cgit_print_snapshot(const char *head, const char *hex,
- const char *filename, int snapshot, int dwim);
+ const char *filename, int dwim);
#endif /* UI_SNAPSHOT_H */