commit 9aec11641aed089a586c752f8fce3cf997866fc7
parent 3c82489f87ba45469e61fc752a7d34885fba7948
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date: Sat, 23 Mar 2024 16:22:00 -0700
Remove unused function from main page
Diffstat:
1 file changed, 0 insertions(+), 19 deletions(-)
diff --git a/pages/main.c b/pages/main.c
@@ -264,25 +264,6 @@ gettf(char *tfs)
}
enum kcgi_err
-printheader(struct pagedata *pd, char **pages)
-{
- enum kcgi_err status;
-
- if ((status = khtml_elem(&pd->html, KELEM_HEADER)) != KCGI_OK ||
- (status = khtml_elem(&pd->html, KELEM_UL)) != KCGI_OK)
- return status;
-
- do {
- if ((status = khtml_elem(&pd->html, KELEM_LI)) != KCGI_OK ||
- (status = htmllink(pd, *pages, *pages)) != KCGI_OK ||
- (status = khtml_closeelem(&pd->html, 1)) != KCGI_OK)
- return status;
- } while ((++pages)[0]);
-
- return khtml_closeelem(&pd->html, 2);
-}
-
-enum kcgi_err
exportform(struct pagedata *pd)
{
enum kcgi_err status;