diff options
Diffstat (limited to 'src/common/exec.c')
| -rw-r--r-- | src/common/exec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/exec.c b/src/common/exec.c index 6cbc8200421..66c3aa6accf 100644 --- a/src/common/exec.c +++ b/src/common/exec.c @@ -49,7 +49,6 @@ #define getcwd(cwd,len) GetCurrentDirectory(len, cwd) #endif -static int validate_exec(const char *path); static int resolve_symlinks(char *path); #ifdef WIN32 @@ -63,7 +62,7 @@ static BOOL GetTokenUser(HANDLE hToken, PTOKEN_USER *ppTokenUser); * -1 if the regular file "path" does not exist or cannot be executed. * -2 if the file is otherwise valid but cannot be read. */ -static int +int validate_exec(const char *path) { struct stat buf; |
