-rw-r--r-- | ui-shared.c | 6 | ||||
-rw-r--r-- | ui-shared.h | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/ui-shared.c b/ui-shared.c index a5eb25f..1bb30c2 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -557,3 +557,3 @@ int print_archive_ref(const char *refname, const unsigned char *sha1, | |||
557 | 557 | ||
558 | void add_hidden_formfields(int incl_head, int incl_search, char *page) | 558 | void cgit_add_hidden_formfields(int incl_head, int incl_search, char *page) |
559 | { | 559 | { |
@@ -612,3 +612,3 @@ void cgit_print_pageheader(struct cgit_context *ctx) | |||
612 | html("<form method='get' action=''>\n"); | 612 | html("<form method='get' action=''>\n"); |
613 | add_hidden_formfields(0, 1, ctx->qry.page); | 613 | cgit_add_hidden_formfields(0, 1, ctx->qry.page); |
614 | html("<select name='h' onchange='this.form.submit();'>\n"); | 614 | html("<select name='h' onchange='this.form.submit();'>\n"); |
@@ -662,3 +662,3 @@ void cgit_print_pageheader(struct cgit_context *ctx) | |||
662 | html("'>\n"); | 662 | html("'>\n"); |
663 | add_hidden_formfields(1, 0, "log"); | 663 | cgit_add_hidden_formfields(1, 0, "log"); |
664 | html("<select name='qt'>\n"); | 664 | html("<select name='qt'>\n"); |
diff --git a/ui-shared.h b/ui-shared.h index e3fae64..1524dc3 100644 --- a/ui-shared.h +++ b/ui-shared.h | |||
@@ -46,3 +46,4 @@ extern void cgit_print_snapshot_links(const char *repo, const char *head, | |||
46 | const char *hex, int snapshots); | 46 | const char *hex, int snapshots); |
47 | 47 | extern void cgit_add_hidden_formfields(int incl_head, int incl_search, | |
48 | char *page); | ||
48 | #endif /* UI_SHARED_H */ | 49 | #endif /* UI_SHARED_H */ |