aboutsummaryrefslogtreecommitdiffstats
path: root/html.c
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 /html.c
parentfd00e71ab7cf1eabd8d1fc2e5980055350849034 (diff)
downloadcgit-fb2c71fad23f4f13f56f74a8b79907805ab1b772.tar.gz
cgit-fb2c71fad23f4f13f56f74a8b79907805ab1b772.tar.bz2
cgit-fb2c71fad23f4f13f56f74a8b79907805ab1b772.zip
html: remove html_status()
This is now unused. Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'html.c')
-rw-r--r--html.c7
1 files changed, 0 insertions, 7 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)
121 strbuf_release(&buf); 121 strbuf_release(&buf);
122} 122}
123 123
124void html_status(int code, const char *msg, int more_headers)
125{
126 htmlf("Status: %d %s\n", code, msg);
127 if (!more_headers)
128 html("\n");
129}
130
131void html_txt(const char *txt) 124void html_txt(const char *txt)
132{ 125{
133 const char *t = txt; 126 const char *t = txt;