updated for version 7.0027
diff --git a/src/gui_riscos.c b/src/gui_riscos.c
index 7c9555e..f9784a2 100644
--- a/src/gui_riscos.c
+++ b/src/gui_riscos.c
@@ -1052,6 +1052,7 @@
     return handle;
 }
 
+#if defined(FEAT_EVAL) || defined(PROTO)
 /*
  * Return the name of font "font" in allocated memory.
  * Don't know how to get the actual name, thus use the provided name.
@@ -1065,6 +1066,7 @@
 	return NULL;
     return vim_strsave(name);
 }
+#endif
 
 /*
  * Set the current text font.