Remove static declaration of executable_file.

Since static functions are only visible in the file in which they are
defined, this needs to be done in order to unit test the function.
This commit is contained in:
Thomas Wienecke
2014-03-04 13:34:08 +01:00
committed by Thiago de Arruda
parent c6917641c2
commit 71ff9337d9

View File

@ -1339,12 +1339,12 @@ int mch_isdir(char_u *name)
#endif
}
static int executable_file(char_u *name);
int executable_file(char_u *name);
/*
* Return 1 if "name" is an executable file, 0 if not or it doesn't exist.
*/
static int executable_file(char_u *name)
int executable_file(char_u *name)
{
struct stat st;