Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
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.
Diffstat (limited to '')
| -rw-r--r-- | source/html.h | 2 |
1 file changed, 1 insertion, 1 deletion
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)); |
