summaryrefslogtreecommitdiff
path: root/ui-stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui-stats.h')
-rw-r--r--ui-stats.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-stats.h b/ui-stats.h
index 341ab13..0e61b03 100644
--- a/ui-stats.h
+++ b/ui-stats.h
@@ -20,7 +20,7 @@ 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(void);