From 71ff9337d9338864bb3ea178dd869b73ede72f4b Mon Sep 17 00:00:00 2001 From: Thomas Wienecke Date: Tue, 4 Mar 2014 13:34:08 +0100 Subject: 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. --- src/os_unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/os_unix.c b/src/os_unix.c index 003e45c2a0..fdbaba466a 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -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; -- cgit