aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--html.c8
-rw-r--r--html.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/html.c b/html.c
index ae1cef9..a60bc13 100644
--- a/html.c
+++ b/html.c
@@ -211,14 +211,6 @@ void html_option(const char *value, const char *text, const char *selected_value
html("</option>\n");
}
-void html_intoption(int value, const char *text, int selected_value)
-{
- htmlf("<option value='%d'%s>", value,
- value == selected_value ? " selected='selected'" : "");
- html_txt(text);
- html("</option>");
-}
-
void html_link_open(const char *url, const char *title, const char *class)
{
html("<a href='");
diff --git a/html.h b/html.h
index 20e1dc2..1135fb8 100644
--- a/html.h
+++ b/html.h
@@ -17,7 +17,6 @@ extern void html_url_path(const char *txt);
extern void html_url_arg(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);