From 088ea9c1541999b6055cdaed39ff9ea78d4d8f3b Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Fri, 30 Oct 2026 16:10:44 -0700 Subject: Keep the permission triplet beside its one caller --- source/html.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source/html.c') diff --git a/source/html.c b/source/html.c index d13ac5b..437a0ae 100644 --- a/source/html.c +++ b/source/html.c @@ -531,15 +531,6 @@ void html_link_close(void) html(""); } -/* - * Render one permission triplet, so a caller prints a whole mode by passing it - * shifted right by six, then by three, then unshifted. - */ -void html_fileperm(unsigned short mode) -{ - htmlf("%c%c%c", (mode & 4 ? 'r' : '-'), (mode & 2 ? 'w' : '-'), (mode & 1 ? 'x' : '-')); -} - int html_include(const char *filename) { FILE *f; -- cgit 2.12.1