diff options
author | Jeff Smith | 2017-10-01 23:39:06 -0500 |
---|---|---|
committer | John Keeping | 2017-10-03 19:19:34 +0100 |
commit | 9337c7ee83221d48d02c3c7b5c9dcbaca23ad92f (patch) | |
tree | d78c2311f4cffe8870e3966d09b5045c6166c4a7 /ui-shared.h | |
parent | 70787254b270b1505aa8427813f64131be5df86c (diff) | |
download | cgit-9337c7ee83221d48d02c3c7b5c9dcbaca23ad92f.tar.gz cgit-9337c7ee83221d48d02c3c7b5c9dcbaca23ad92f.tar.bz2 cgit-9337c7ee83221d48d02c3c7b5c9dcbaca23ad92f.zip |
ui-tree: move set_title_from_path to ui-shared
The ui-blame code will also need to call set_title_from_path, so go
ahead and move it to ui-shared.
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Reviewed-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'ui-shared.h')
-rw-r--r-- | ui-shared.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui-shared.h b/ui-shared.h index 87799f1..40f6207 100644 --- a/ui-shared.h +++ b/ui-shared.h | |||
@@ -77,4 +77,6 @@ extern void cgit_print_snapshot_links(const char *repo, const char *head, | |||
77 | const char *hex, int snapshots); | 77 | const char *hex, int snapshots); |
78 | extern void cgit_add_hidden_formfields(int incl_head, int incl_search, | 78 | extern void cgit_add_hidden_formfields(int incl_head, int incl_search, |
79 | const char *page); | 79 | const char *page); |
80 | |||
81 | extern void cgit_set_title_from_path(const char *path); | ||
80 | #endif /* UI_SHARED_H */ | 82 | #endif /* UI_SHARED_H */ |