diff options
author | Jeff Smith <whydoubt@gmail.com> | 2017-10-02 07:39:06 +0300 |
---|---|---|
committer | John Keeping <john@keeping.me.uk> | 2017-10-03 21:19:34 +0300 |
commit | 9337c7ee83221d48d02c3c7b5c9dcbaca23ad92f (patch) | |
tree | d78c2311f4cffe8870e3966d09b5045c6166c4a7 /ui-shared.h | |
parent | 70787254b270b1505aa8427813f64131be5df86c (diff) |
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, const char *hex, int snapshots); extern void cgit_add_hidden_formfields(int incl_head, int incl_search, const char *page); + +extern void cgit_set_title_from_path(const char *path); #endif /* UI_SHARED_H */ |