Address clint warnings and other style issues.

* Add const.
* Fix conditions (move && from end to start of line).
* Use int32_t instead of long.
* Use //-style comments.
This commit is contained in:
Thomas Wienecke
2014-03-27 13:04:26 +01:00
committed by Thiago de Arruda
parent 5762c4e528
commit 4e29a820b6
12 changed files with 160 additions and 252 deletions

View File

@@ -16,7 +16,7 @@ int os_dirname(char_u *buf, int len);
int os_isdir(char_u * name);
int is_executable(char_u *name);
int os_can_exe(char_u *name);
long os_getperm(char_u *name);
int32_t os_getperm(char_u *name);
int os_setperm(char_u *name, long perm);
int os_file_exists(const char_u *name);
]]