summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJohn Keeping2015-08-14 12:47:10 +0100
committerJason A. Donenfeld2015-08-14 15:46:51 +0200
commitfb2c71fad23f4f13f56f74a8b79907805ab1b772 (patch)
treeacc0ff9dfb3d8a6fb48e3aef626c302ae225187b
parentfd00e71ab7cf1eabd8d1fc2e5980055350849034 (diff)
downloadcgit-fb2c71fad23f4f13f56f74a8b79907805ab1b772.tar.gz
html: remove html_status()
This is now unused. Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to '')
-rw-r--r--html.c7
-rw-r--r--html.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/html.c b/html.c
index a47cff0..959148c 100644
--- a/html.c
+++ b/html.c
@@ -121,13 +121,6 @@ void html_vtxtf(const char *format, va_list ap)
strbuf_release(&buf);
}
-void html_status(int code, const char *msg, int more_headers)
-{
- htmlf("Status: %d %s\n", code, msg);
- if (!more_headers)
- html("\n");
-}
-
void html_txt(const char *txt)
{
const char *t = txt;
diff --git a/html.h b/html.h
index be3b311..c554763 100644
--- a/html.h
+++ b/html.h
@@ -18,7 +18,6 @@ extern void html_vtxtf(const char *format, va_list ap);
__attribute__((format (printf,1,2)))
extern void html_attrf(const char *format,...);
-extern void html_status(int code, const char *msg, int more_headers);
extern void html_txt(const char *txt);
extern void html_ntxt(int len, const char *txt);
extern void html_attr(const char *txt);