]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-shared.h
ui-shared: pass repo object to print_snapshot_links()
[ps-cgit] / ui-shared.h
index b760a17badbbd89bb87adeabeef56412a175a426..b3eb8c5be63f763bb6c3f24d132c2b50b5803d5c 100644 (file)
@@ -76,8 +76,8 @@ extern void cgit_print_pageheader(void);
 extern void cgit_print_filemode(unsigned short mode);
 extern void cgit_compose_snapshot_prefix(struct strbuf *filename,
                                         const char *base, const char *ref);
-extern void cgit_print_snapshot_links(const char *repo, const char *head,
-                                     const char *hex, int snapshots);
+extern void cgit_print_snapshot_links(const struct cgit_repo *repo,
+                                     const char *head, const char *hex);
 extern void cgit_add_hidden_formfields(int incl_head, int incl_search,
                                       const char *page);