[PATCH 06/17] html: remove html_status()
John Keeping
john at keeping.me.uk
Sun Apr 5 17:54:52 CEST 2015
This is now unused.
Signed-off-by: John Keeping <john at keeping.me.uk>
---
html.c | 7 -------
html.h | 1 -
2 files changed, 8 deletions(-)
diff --git a/html.c b/html.c
index 155cde5..9e0d6ba 100644
--- a/html.c
+++ b/html.c
@@ -127,13 +127,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);
--
2.4.0.rc0.173.gb1cefcc
More information about the CGit
mailing list