diff options
Diffstat (limited to 'render')
-rw-r--r-- | render/html.c | 2 | ||||
-rw-r--r-- | render/html.h | 1 | ||||
-rw-r--r-- | render/textplain.c | 2 | ||||
-rw-r--r-- | render/textplain.h | 1 |
4 files changed, 4 insertions, 2 deletions
diff --git a/render/html.c b/render/html.c index 5378480c5..286fc9644 100644 --- a/render/html.c +++ b/render/html.c @@ -59,6 +59,7 @@ #define ALWAYS_DUMP_FRAMESET 0 #define ALWAYS_DUMP_BOX 0 +static void html_fini(void); static nserror html_create(const content_handler *handler, lwc_string *imime_type, const http_parameter *params, llcache_handle *llcache, const char *fallback_charset, @@ -109,6 +110,7 @@ static void html_dump_frameset(struct content_html_frames *frame, #endif static const content_handler html_content_handler = { + .fini = html_fini, .create = html_create, .process_data = html_process_data, .data_complete = html_convert, diff --git a/render/html.h b/render/html.h index 88c8b9bfb..c3f36fda3 100644 --- a/render/html.h +++ b/render/html.h @@ -142,7 +142,6 @@ extern char *quirks_stylesheet_url; extern bool html_redraw_debug; nserror html_init(void); -void html_fini(void); void html_redraw_a_box(struct hlcache_handle *h, struct box *box); diff --git a/render/textplain.c b/render/textplain.c index 786fe21e0..3294d536a 100644 --- a/render/textplain.c +++ b/render/textplain.c @@ -94,6 +94,7 @@ static plot_font_style_t textplain_style = { static int textplain_tab_width = 256; /* try for a sensible default */ +static void textplain_fini(void); static nserror textplain_create(const content_handler *handler, lwc_string *imime_type, const http_parameter *params, llcache_handle *llcache, const char *fallback_charset, @@ -132,6 +133,7 @@ static int textplain_coord_from_offset(const char *text, size_t offset, static float textplain_line_height(void); static const content_handler textplain_content_handler = { + .fini = textplain_fini, .create = textplain_create, .process_data = textplain_process_data, .data_complete = textplain_convert, diff --git a/render/textplain.h b/render/textplain.h index 36b9a1898..b7761a20d 100644 --- a/render/textplain.h +++ b/render/textplain.h @@ -33,7 +33,6 @@ struct http_parameter; struct rect; nserror textplain_init(void); -void textplain_fini(void); /* access to lines for text selection and searching */ unsigned long textplain_line_count(struct content *c); |