summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--render/html.c2
-rw-r--r--render/html_internal.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/render/html.c b/render/html.c
index ffe41ff2d..dc108982f 100644
--- a/render/html.c
+++ b/render/html.c
@@ -2741,7 +2741,7 @@ void html_set_search(struct content *c, struct search_context *s)
* \return content's search context, or NULL if none
*/
-static struct search_context *html_get_search(struct content *c)
+struct search_context *html_get_search(struct content *c)
{
html_content *html = (html_content *) c;
diff --git a/render/html_internal.h b/render/html_internal.h
index cd7da0876..ff3270787 100644
--- a/render/html_internal.h
+++ b/render/html_internal.h
@@ -117,6 +117,7 @@ void html_set_status(html_content *c, const char *extra);
void html__redraw_a_box(struct content *c, struct box *box);
struct browser_window *html_get_browser_window(struct content *c);
+struct search_context *html_get_search(struct content *c);
void html_set_search(struct content *c, struct search_context *s);
/* in render/html_redraw.c */