updated for version 7.0027
diff --git a/src/gui_photon.c b/src/gui_photon.c
index b7c92df..9223a40 100644
--- a/src/gui_photon.c
+++ b/src/gui_photon.c
@@ -3047,6 +3047,7 @@
     return( FAIL );
 }
 
+#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.
@@ -3060,6 +3061,7 @@
 	return NULL;
     return vim_strsave(name);
 }
+#endif
 
     void
 gui_mch_set_font(GuiFont font)