From 80767bc9732bf6716697198e53ff2cb8d4ae96be Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 12 Aug 2026 18:23:17 -1000 Subject: Restyle the sources and fix the audit's findings --- source/ui-summary.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'source/ui-summary.h') 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 -- cgit v2.8.0