diff options
Diffstat (limited to 'src/os/os.h')
-rw-r--r-- | src/os/os.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/os/os.h b/src/os/os.h index 3510fad9ca..eb25735d6f 100644 --- a/src/os/os.h +++ b/src/os/os.h @@ -4,7 +4,7 @@ #include "vim.h" long_u os_total_mem(int special); -int os_chdir(char *path); +int os_chdir(const char *path); int os_dirname(char_u *buf, size_t len); int os_get_absolute_path(char_u *fname, char_u *buf, int len, int force); int os_is_absolute_path(const char_u *fname); @@ -17,8 +17,8 @@ int os_get_usernames(garray_T *usernames); int os_get_user_name(char *s, size_t len); int os_get_uname(uid_t uid, char *s, size_t len); char *os_get_user_directory(const char *name); -long os_getperm(const char_u *name); +int32_t os_getperm(const char_u *name); int os_setperm(const char_u *name, int perm); -int os_file_exists(char_u *name); +int os_file_exists(const char_u *name); -#endif +#endif // NEOVIM_OS_OS_H |