Make FPC_* defines an enum type in path.h.

This commit is contained in:
Thomas Wienecke
2014-03-30 01:04:52 +01:00
committed by Thiago de Arruda
parent db92e0b094
commit 98b1f73c3f
4 changed files with 29 additions and 31 deletions

View File

@@ -29,20 +29,10 @@
#define URL_SLASH 1 /* path_is_url() has found "://" */
#define URL_BACKSLASH 2 /* path_is_url() has found ":\\" */
/*
* Compare two file names and return:
* FPC_SAME if they both exist and are the same file.
* FPC_SAMEX if they both don't exist and have the same file name.
* FPC_DIFF if they both exist and are different files.
* FPC_NOTX if they both don't exist.
* FPC_DIFFX if one of them doesn't exist.
* For the first name environment variables are expanded
*/
int
fullpathcmp (
FileComparison fullpathcmp (
char_u *s1,
char_u *s2,
int checkname /* when both don't exist, check file names */
int checkname
)
{
#ifdef UNIX