diff src/fileio.c @ 1418:bac7c3fce150 v7.1.133

updated for version 7.1-133
author vimboss
date Wed, 03 Oct 2007 10:50:10 +0000
parents 0e6b369b9760
children d065616e0836
line wrap: on
line diff
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5553,6 +5553,8 @@ make_bom(buf, name)
 }
 #endif
 
+#if defined(FEAT_VIMINFO) || defined(FEAT_BROWSE) || \
+    defined(FEAT_QUICKFIX) || defined(PROTO)
 /*
  * Try to find a shortname by comparing the fullname with the current
  * directory.
@@ -5573,6 +5575,7 @@ shorten_fname1(full_path)
     }
     return p;
 }
+#endif
 
 /*
  * Try to find a shortname by comparing the fullname with the current