diff options
author | Lars Hjemli | 2009-08-24 11:02:48 +0200 |
---|---|---|
committer | Lars Hjemli | 2009-08-24 11:02:48 +0200 |
commit | b47b7bd1d0fb872763214e674b53a562c7513fc0 (patch) | |
tree | 03466abfe90a858ee4f7b09877b095b6a7f50555 /ui-stats.h | |
parent | cgit.c: generate repo.snapshots in print_repo() (diff) | |
download | cgit-b47b7bd1d0fb872763214e674b53a562c7513fc0.tar.gz cgit-b47b7bd1d0fb872763214e674b53a562c7513fc0.zip |
Add and use cgit_find_stats_periodname() in print_repo()
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-stats.h')
-rw-r--r-- | ui-stats.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ struct cgit_period { | |||
21 | }; | 21 | }; |
22 | 22 | ||
23 | extern int cgit_find_stats_period(const char *expr, struct cgit_period **period); | 23 | extern int cgit_find_stats_period(const char *expr, struct cgit_period **period); |
24 | extern const char *cgit_find_stats_periodname(int idx); | ||
24 | 25 | ||
25 | extern void cgit_show_stats(struct cgit_context *ctx); | 26 | extern void cgit_show_stats(struct cgit_context *ctx); |
26 | 27 | ||