commit | b47b7bd1d0fb872763214e674b53a562c7513fc0 | [log] [tgz] |
---|---|---|
author | Lars Hjemli <hjemli@gmail.com> | Mon Aug 24 11:02:48 2009 +0200 |
committer | Lars Hjemli <hjemli@gmail.com> | Mon Aug 24 11:02:48 2009 +0200 |
tree | 03466abfe90a858ee4f7b09877b095b6a7f50555 | |
parent | 5ca8df0a3d75ba1ca5af28872977f7714b66ff37 [diff] [blame] |
Add and use cgit_find_stats_periodname() in print_repo() Signed-off-by: Lars Hjemli <hjemli@gmail.com>
diff --git a/ui-stats.h b/ui-stats.h index 4f13dba..f0761ba 100644 --- a/ui-stats.h +++ b/ui-stats.h
@@ -21,6 +21,7 @@ }; extern int cgit_find_stats_period(const char *expr, struct cgit_period **period); +extern const char *cgit_find_stats_periodname(int idx); extern void cgit_show_stats(struct cgit_context *ctx);