mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
Macro cleanup: PROTO
Regarding dict_lookup() in eval.c: both definitions are the same, the only difference being the spacing between the indirection operator and the indentation level.
This commit is contained in:
@@ -403,9 +403,9 @@ char_u *save_absolute_path(const char_u *name)
|
||||
}
|
||||
|
||||
|
||||
#if !defined(NO_EXPANDPATH) || defined(PROTO)
|
||||
#if !defined(NO_EXPANDPATH)
|
||||
|
||||
#if defined(UNIX) || defined(USE_UNIXFILENAME) || defined(PROTO)
|
||||
#if defined(UNIX) || defined(USE_UNIXFILENAME)
|
||||
/*
|
||||
* Unix style wildcard expansion code.
|
||||
* It's here because it's used both for Unix and Mac.
|
||||
@@ -1622,7 +1622,7 @@ int same_directory(char_u *f1, char_u *f2)
|
||||
&& pathcmp((char *)ffname, (char *)f2, (int)(t1 - ffname)) == 0;
|
||||
}
|
||||
|
||||
#if !defined(NO_EXPANDPATH) || defined(PROTO)
|
||||
#if !defined(NO_EXPANDPATH)
|
||||
/*
|
||||
* Compare path "p[]" to "q[]".
|
||||
* If "maxlen" >= 0 compare "p[maxlen]" to "q[maxlen]"
|
||||
|
Reference in New Issue
Block a user