all repos — cgit @ fb2c71fad23f4f13f56f74a8b79907805ab1b772

a hyperfast web frontend for git written in c

html: remove html_status()

This is now unused.

Signed-off-by: John Keeping <john@keeping.me.uk>
John Keeping john@keeping.me.uk
Fri, 14 Aug 2015 12:47:10 +0100
commit

fb2c71fad23f4f13f56f74a8b79907805ab1b772

parent

fd00e71ab7cf1eabd8d1fc2e5980055350849034

2 files changed, 0 insertions(+), 8 deletions(-)

jump to
M html.chtml.c

@@ -121,13 +121,6 @@ html_txt(buf.buf);

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;
M html.hhtml.h

@@ -18,7 +18,6 @@

__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);