html: remove html_status()

This is now unused.

Signed-off-by: John Keeping <john@keeping.me.uk>
Bu işleme şunda yer alıyor:
John Keeping 2015-08-14 12:47:10 +01:00 işlemeyi yapan: Jason A. Donenfeld
ebeveyn fd00e71ab7
işleme fb2c71fad2
2 değiştirilmiş dosya ile 0 ekleme ve 8 silme

7
html.c
Dosyayı Görüntüle

@ -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;

1
html.h
Dosyayı Görüntüle

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