From 93c65e516d1b4c4cc38f141001e61dec5bf3f821 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 13:29:32 -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.11.1