X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/8aab27f24de70acfbdcee31c634a4b1facf23b92..808c685ebb7cd2d24d3881b74e3be2439bd1393b:/html.h diff --git a/html.h b/html.h index 16d55ec..1135fb8 100644 --- a/html.h +++ b/html.h @@ -5,7 +5,10 @@ extern int htmlfd; extern void html_raw(const char *txt, size_t size); extern void html(const char *txt); + +__attribute__((format (printf,1,2))) extern void htmlf(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);