aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2015-03-03 17:23:40 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2015-03-03 17:33:34 +0100
commit2e4a41e84029cbfa70c654fe5dfb35747f2dfbba (patch)
treedb4a982a97a488d91370e252072286190b90530a /ui-shared.h
parent6bcda2f73da605d48279341b1905c1b234a39368 (diff)
downloadcgit-2e4a41e84029cbfa70c654fe5dfb35747f2dfbba.tar.gz
cgit-2e4a41e84029cbfa70c654fe5dfb35747f2dfbba.tar.bz2
cgit-2e4a41e84029cbfa70c654fe5dfb35747f2dfbba.zip
Make root handling sane again.
Diffstat (limited to 'ui-shared.h')
-rw-r--r--ui-shared.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.h b/ui-shared.h
index af78a13..1b8ecb5 100644
--- a/ui-shared.h
+++ b/ui-shared.h
@@ -15,7 +15,7 @@ extern char *cgit_pageurl(const char *reponame, const char *pagename,
extern void cgit_add_clone_urls(void (*fn)(const char *));
extern void cgit_index_link(const char *name, const char *title,
- const char *class, const char *pattern, const char *sort, int ofs);
+ const char *class, const char *pattern, const char *sort, int ofs, int always_root);
extern void cgit_summary_link(const char *name, const char *title,
const char *class, const char *head);
extern void cgit_tag_link(const char *name, const char *title,