X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/438bac6f579dab5b8f64e8ce42b88cfc3f053b28..f77e2a8cfaf07b25ddedd57348a1d957b048bbf5:/html.c diff --git a/html.c b/html.c index 155cde5..959148c 100644 --- a/html.c +++ b/html.c @@ -8,12 +8,6 @@ #include "cgit.h" #include "html.h" -#include -#include -#include -#include -#include -#include /* Percent-encoding of each character, except: a-zA-Z0-9!$()*,./:;@- */ static const char* url_escape_table[256] = { @@ -127,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;