diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-03-22 11:45:48 +0100 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-03-22 11:45:48 +0100 |
commit | 4bc62c76c70b86400f60d6c7de98d271b664bec2 (patch) | |
tree | b87ff48d46eebd7c0361bce135f3a7e0420920b8 /src/nvim/vim.h | |
parent | 4fc0291c730f3c42df4692dd91b09cfd806479d7 (diff) | |
parent | 44b563409e8c67d4116ff2e2b726cda4e4dc03f6 (diff) | |
download | rneovim-4bc62c76c70b86400f60d6c7de98d271b664bec2.tar.gz rneovim-4bc62c76c70b86400f60d6c7de98d271b664bec2.tar.bz2 rneovim-4bc62c76c70b86400f60d6c7de98d271b664bec2.zip |
Merge #2184: Fix coverity issues. (6)
Reviewed-by: oni-link <knil.ino@gmail.com>
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r-- | src/nvim/vim.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h index 29d61dcbde..410c2602c8 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -322,13 +322,10 @@ enum { (size_t)(n)) #ifndef EINTR -# define read_eintr(fd, buf, count) vim_read((fd), (buf), (count)) -# define write_eintr(fd, buf, count) vim_write((fd), (buf), (count)) +# define read_eintr(fd, buf, count) read((fd), (buf), (count)) +# define write_eintr(fd, buf, count) write((fd), (buf), (count)) #endif -# define vim_read(fd, buf, count) read((fd), (char *)(buf), (size_t) (count)) -# define vim_write(fd, buf, count) write((fd), (char *)(buf), (size_t) (count)) - /* * Enums need a typecast to be used as array index (for Ultrix). */ |