aboutsummaryrefslogtreecommitdiff
path: root/src/os/fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/fs.c')
-rw-r--r--src/os/fs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/os/fs.c b/src/os/fs.c
index fdf9d0795e..84e31502ab 100644
--- a/src/os/fs.c
+++ b/src/os/fs.c
@@ -278,7 +278,6 @@ int os_file_exists(const char_u *name)
}
}
-// return TRUE if a file appears to be read-only from the file permissions.
int os_file_is_readonly(const char *name)
{
if (access(name, W_OK) == 0) {
@@ -288,8 +287,6 @@ int os_file_is_readonly(const char *name)
}
}
-// return 0 for not writable, 1 for writable file, 2 for a dir which we have
-// rights to write into.
int os_file_is_writable(const char *name)
{
if (access(name, W_OK) == 0) {