aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Abreu Ferreira <equalsraf@users.noreply.github.com>2016-07-29 13:53:01 +0100
committerJustin M. Keyes <justinkz@gmail.com>2016-07-29 08:53:01 -0400
commitc168dc32b905c9de3e07f0b53dc84b28189f4dcd (patch)
treec0729a0e5ce1734098c85114a84db9e64ddc99cd
parent149518c6b37c91e83d493ad6024821856492327a (diff)
downloadrneovim-c168dc32b905c9de3e07f0b53dc84b28189f4dcd.tar.gz
rneovim-c168dc32b905c9de3e07f0b53dc84b28189f4dcd.tar.bz2
rneovim-c168dc32b905c9de3e07f0b53dc84b28189f4dcd.zip
Remove redundant includes of unistd.h (#5126)
-rw-r--r--src/nvim/os/fileio.c1
-rw-r--r--src/nvim/os/fs.c1
-rw-r--r--src/nvim/os/pty_process_unix.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/os/fileio.c b/src/nvim/os/fileio.c
index 6cee102305..cf5bfd60ae 100644
--- a/src/nvim/os/fileio.c
+++ b/src/nvim/os/fileio.c
@@ -4,7 +4,6 @@
/// Neovim stuctures for buffer, with autocommands, etc: just fopen/fread/fwrite
/// replacement.
-#include <unistd.h>
#include <assert.h>
#include <stddef.h>
#include <stdbool.h>
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c
index d12d34d595..8c1c80bfad 100644
--- a/src/nvim/os/fs.c
+++ b/src/nvim/os/fs.c
@@ -3,7 +3,6 @@
#include <stddef.h>
#include <assert.h>
#include <limits.h>
-#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
diff --git a/src/nvim/os/pty_process_unix.c b/src/nvim/os/pty_process_unix.c
index 436de030ba..b57a69b82b 100644
--- a/src/nvim/os/pty_process_unix.c
+++ b/src/nvim/os/pty_process_unix.c
@@ -3,7 +3,6 @@
#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
#include <termios.h>
#include <sys/types.h>
#include <sys/wait.h>