diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c
index 913411cedad..2fde048f3f4 100644
--- a/dlls/mshtml/tests/dom.c
+++ b/dlls/mshtml/tests/dom.c
@@ -4195,7 +4195,7 @@ static void _insert_adjacent_elem(unsigned line, IHTMLElement *parent, const cha
IHTMLElement_Release(ret_elem);
}
-void test_insert_adjacent_elems(IHTMLDocument2 *doc, IHTMLElement *parent)
+static void test_insert_adjacent_elems(IHTMLDocument2 *doc, IHTMLElement *parent)
{
IHTMLElement *elem, *elem2;