diff --git a/dlls/mshtml/editor.c b/dlls/mshtml/editor.c
index b3ef0cb5010..9b68c320578 100644
--- a/dlls/mshtml/editor.c
+++ b/dlls/mshtml/editor.c
@@ -247,7 +247,7 @@ static void remove_child_attr(nsIDOMElement *elem, LPCWSTR tag, nsAString *attr_
nsIDOMNodeList_Release(node_list);
}
-void get_font_size(HTMLDocument *This, WCHAR *ret)
+static void get_font_size(HTMLDocument *This, WCHAR *ret)
{
nsISelection *nsselection = get_ns_selection(This);
nsIDOMElement *elem = NULL;
@@ -315,7 +315,7 @@ void get_font_size(HTMLDocument *This, WCHAR *ret)
nsIDOMNode_Release(node);
}
-void set_font_size(HTMLDocument *This, LPCWSTR size)
+static void set_font_size(HTMLDocument *This, LPCWSTR size)
{
nsISelection *nsselection;
PRBool collapsed;
diff --git a/dlls/mshtml/mshtml_private.h b/dlls/mshtml/mshtml_private.h
index 5c2d68945e7..5a0b17bc993 100644
--- a/dlls/mshtml/mshtml_private.h
+++ b/dlls/mshtml/mshtml_private.h
@@ -385,9 +385,6 @@ extern const cmdtable_t editmode_cmds[];
/* editor */
void handle_edit_event(HTMLDocument*,nsIDOMEvent*);
-void get_font_size(HTMLDocument*,WCHAR*);
-void set_font_size(HTMLDocument*,LPCWSTR);
-
extern DWORD mshtml_tls;
typedef struct task_t {