mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
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:
committed by
Thiago de Arruda
parent
c6917641c2
commit
71ff9337d9
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user