diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Restyle the sources and fix the audit's findings
Diffstat (limited to 'source/ui-summary.h')
| -rw-r--r-- | source/ui-summary.h | 13 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 file changed, 10 insertions, 3 deletions
diff --git a/source/ui-summary.h b/source/ui-summary.h index cba696a..676cc47 100644 --- a/source/ui-summary.h +++ b/source/ui-summary.h @@ -1,7 +1,14 @@ -#ifndef UI_SUMMARY_H -#define UI_SUMMARY_H +/* + * Declarations for the two pages a repository opens with, the summary of its + * refs and recent commits and the about page built from its readme. cmd.c + * reaches both, and it hands the about page whatever path follows the page + * name in the url, so a readme can link to a file beside it. + */ + +#ifndef CGIT_UI_SUMMARY_H +#define CGIT_UI_SUMMARY_H extern void cgit_print_summary(void); extern void cgit_print_repo_readme(const char *path); -#endif /* UI_SUMMARY_H */ +#endif // CGIT_UI_SUMMARY_H |
