From a42dd735e18bb14ab44faac7434ddff428d13d24 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 13:56:09 -0700 Subject: Return nothing from html_include No caller reads the result, and a void html_include fits the Lua binding's callback as it is, so the wrapper that dropped it goes too. --- source/html.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/html.h') diff --git a/source/html.h b/source/html.h index cc87566..e962a53 100644 --- a/source/html.h +++ b/source/html.h @@ -96,7 +96,7 @@ extern void html_option(const char *value, const char *text, const char *selecte extern void html_intoption(int value, const char *text, int selected_value); extern void html_link_open(const char *url, const char *title, const char *class); extern void html_link_close(void); -extern int html_include(const char *filename); +extern void html_include(const char *filename); extern void http_parse_querystring(const char *txt, void (*fn)(const char *name, const char *value)); -- cgit