X-Git-Url: https://git.cameronkatri.com/cgit.git/blobdiff_plain/92f6940975f6771f3a08d497c02575ee5bdc79da..5bd7e9bc1b6749bbb5220d6c3a990469a7b839ae:/ui-stats.h diff --git a/ui-stats.h b/ui-stats.h index f0761ba..0e61b03 100644 --- a/ui-stats.h +++ b/ui-stats.h @@ -20,9 +20,9 @@ struct cgit_period { char *(*pretty)(struct tm *tm); }; -extern int cgit_find_stats_period(const char *expr, struct cgit_period **period); +extern int cgit_find_stats_period(const char *expr, const struct cgit_period **period); extern const char *cgit_find_stats_periodname(int idx); -extern void cgit_show_stats(struct cgit_context *ctx); +extern void cgit_show_stats(void); #endif /* UI_STATS_H */