From mboxrd@z Thu Jan 1 00:00:00 1970 From: john at keeping.me.uk (John Keeping) Date: Sun, 12 Mar 2017 15:49:04 +0000 Subject: [PATCH 3/3] html: remove unused functions In-Reply-To: References: Message-ID: <736e0ad67d1819547c3c8ab08d4857dc65d7bc2b.1489333714.git.john@keeping.me.uk> The previous commit removed the only use of these functions, so let's remove them. Signed-off-by: John Keeping --- html.c | 20 -------------------- html.h | 2 -- 2 files changed, 22 deletions(-) diff --git a/html.c b/html.c index e7e6e07..e4dbb05 100644 --- a/html.c +++ b/html.c @@ -295,26 +295,6 @@ void html_intoption(int value, const char *text, int selected_value) html(""); } -void html_link_open(const char *url, const char *title, const char *class) -{ - html(""); -} - -void html_link_close(void) -{ - html(""); -} - void html_fileperm(unsigned short mode) { htmlf("%c%c%c", (mode & 4 ? 'r' : '-'), diff --git a/html.h b/html.h index 1b24e55..e0f5195 100644 --- a/html.h +++ b/html.h @@ -27,8 +27,6 @@ extern void html_header_arg_in_quotes(const char *txt); extern void html_hidden(const char *name, const char *value); extern void html_option(const char *value, const char *text, const char *selected_value); extern void html_intoption(int value, const char *text, int selected_value); -extern void html_link_open(const char *url, const char *title, const char *class); -extern void html_link_close(void); extern void html_fileperm(unsigned short mode); extern int html_include(const char *filename); -- 2.12.0.415.g6c14041932.dirty