From 98b1f73c3f364d11ba54e9950fc2168712da3996 Mon Sep 17 00:00:00 2001 From: Thomas Wienecke Date: Sun, 30 Mar 2014 01:04:52 +0100 Subject: Make FPC_* defines an enum type in path.h. --- src/path.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'src/path.c') diff --git a/src/path.c b/src/path.c index 9f46dc4e12..91cf567418 100644 --- a/src/path.c +++ b/src/path.c @@ -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 -- cgit