updated for version 7.0027
diff --git a/src/gui_beos.cc b/src/gui_beos.cc
index 32e4db0..3151365 100644
--- a/src/gui_beos.cc
+++ b/src/gui_beos.cc
@@ -2396,6 +2396,7 @@
     return (GuiFont)font;
 }
 
+#if defined(FEAT_EVAL) || defined(PROTO)
 /*
  * Return the name of font "font" in allocated memory.
  */
@@ -2404,6 +2405,7 @@
 {
     return vim_strsave(((VimFont *)font)->name);
 }
+#endif
 
 /*
  * Set the current text font.