aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/api/buffer.c1
-rw-r--r--src/nvim/buffer.c1
-rw-r--r--src/nvim/diff.c1
-rw-r--r--src/nvim/edit.c1
-rw-r--r--src/nvim/eval.c1
-rw-r--r--src/nvim/ex_cmds.c1
-rw-r--r--src/nvim/ex_cmds2.c1
-rw-r--r--src/nvim/ex_docmd.c1
-rw-r--r--src/nvim/ex_getln.c1
-rw-r--r--src/nvim/file_search.c1
-rw-r--r--src/nvim/hardcopy.c1
-rw-r--r--src/nvim/main.c1
-rw-r--r--src/nvim/mark.c1
-rw-r--r--src/nvim/mbyte.c1
-rw-r--r--src/nvim/memfile.c1
-rw-r--r--src/nvim/memory.c1
-rw-r--r--src/nvim/message.c1
-rw-r--r--src/nvim/misc1.c1
-rw-r--r--src/nvim/misc2.c1
-rw-r--r--src/nvim/normal.c1
-rw-r--r--src/nvim/option.c1
-rw-r--r--src/nvim/path.c1
-rw-r--r--src/nvim/quickfix.c1
-rw-r--r--src/nvim/screen.c1
-rw-r--r--src/nvim/search.c1
-rw-r--r--src/nvim/spell.c1
-rw-r--r--src/nvim/strings.c1
-rw-r--r--src/nvim/syntax.c1
-rw-r--r--src/nvim/tag.c1
-rw-r--r--src/nvim/undo.c1
-rw-r--r--src/nvim/window.c1
31 files changed, 0 insertions, 31 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c
index a8446265d0..b7a86af134 100644
--- a/src/nvim/api/buffer.c
+++ b/src/nvim/api/buffer.c
@@ -1,6 +1,5 @@
// Much of this code was adapted from 'if_py_both.h' from the original
// vim source
-#include <errno.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index e0aac141ac..fb1aeb7ba8 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -25,7 +25,6 @@
*/
#include <stdbool.h>
-#include <errno.h>
#include <string.h>
#include <inttypes.h>
diff --git a/src/nvim/diff.c b/src/nvim/diff.c
index 6e2b3056e4..d311588ab4 100644
--- a/src/nvim/diff.c
+++ b/src/nvim/diff.c
@@ -2,7 +2,6 @@
///
/// Code for diff'ing two, three or four buffers.
-#include <errno.h>
#include <inttypes.h>
#include <stdbool.h>
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index 01b9981192..08b587df8a 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -11,7 +11,6 @@
*/
#include <assert.h>
-#include <errno.h>
#include <string.h>
#include <inttypes.h>
#include <stdbool.h>
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index a97f6ac570..cec7c91c03 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -12,7 +12,6 @@
*/
#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
#include <stdarg.h>
#include <string.h>
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index b232d3fe81..f69910eb99 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -11,7 +11,6 @@
*/
#include <assert.h>
-#include <errno.h>
#include <stdbool.h>
#include <string.h>
#include <stdlib.h>
diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c
index e2e3368d0f..bb629fad76 100644
--- a/src/nvim/ex_cmds2.c
+++ b/src/nvim/ex_cmds2.c
@@ -11,7 +11,6 @@
*/
#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
#include <stdbool.h>
#include <string.h>
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index 720d97a883..b50c7330d3 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -14,7 +14,6 @@
#include <string.h>
#include <stdbool.h>
#include <stdint.h>
-#include <errno.h>
#include <inttypes.h>
#include "nvim/vim.h"
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index be98da7cfc..c9a324b49f 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -11,7 +11,6 @@
*/
#include <assert.h>
-#include <errno.h>
#include <stdbool.h>
#include <string.h>
#include <stdlib.h>
diff --git a/src/nvim/file_search.c b/src/nvim/file_search.c
index fbff7d2417..4f345158cf 100644
--- a/src/nvim/file_search.c
+++ b/src/nvim/file_search.c
@@ -45,7 +45,6 @@
*/
#include <assert.h>
-#include <errno.h>
#include <string.h>
#include <stdbool.h>
#include <stdint.h>
diff --git a/src/nvim/hardcopy.c b/src/nvim/hardcopy.c
index 73febdd0e6..9f7431ee7d 100644
--- a/src/nvim/hardcopy.c
+++ b/src/nvim/hardcopy.c
@@ -11,7 +11,6 @@
*/
#include <assert.h>
-#include <errno.h>
#include <string.h>
#include <inttypes.h>
#include <stdint.h>
diff --git a/src/nvim/main.c b/src/nvim/main.c
index f49db5cd82..203aeb8d69 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -8,7 +8,6 @@
#define EXTERN
#include <assert.h>
-#include <errno.h>
#include <stdint.h>
#include <string.h>
#include <stdbool.h>
diff --git a/src/nvim/mark.c b/src/nvim/mark.c
index ae394b4da6..38a76a45e6 100644
--- a/src/nvim/mark.c
+++ b/src/nvim/mark.c
@@ -11,7 +11,6 @@
*/
#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
#include <string.h>
#include <limits.h>
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c
index cdf8eba5d3..fc7199e3a6 100644
--- a/src/nvim/mbyte.c
+++ b/src/nvim/mbyte.c
@@ -71,7 +71,6 @@
* some commands, like ":menutrans"
*/
-#include <errno.h>
#include <inttypes.h>
#include <stdbool.h>
#include <string.h>
diff --git a/src/nvim/memfile.c b/src/nvim/memfile.c
index 6e94d7392a..b2783736e1 100644
--- a/src/nvim/memfile.c
+++ b/src/nvim/memfile.c
@@ -44,7 +44,6 @@
/// mf_fullname() make file name full path (use before first :cd)
#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
#include <limits.h>
#include <string.h>
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index 6d386f3599..8db47b79c1 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -1,7 +1,6 @@
// Various routines dealing with allocation and deallocation of memory.
#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
#include <string.h>
#include <stdbool.h>
diff --git a/src/nvim/message.c b/src/nvim/message.c
index 341306c6ca..52e2a286c3 100644
--- a/src/nvim/message.c
+++ b/src/nvim/message.c
@@ -11,7 +11,6 @@
*/
#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
#include <stdbool.h>
#include <stdarg.h>
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index 3cdb8f59c7..0ba6929686 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -11,7 +11,6 @@
*/
#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
#include <stdbool.h>
#include <string.h>
diff --git a/src/nvim/misc2.c b/src/nvim/misc2.c
index 11cdd81b35..d72a8f17e0 100644
--- a/src/nvim/misc2.c
+++ b/src/nvim/misc2.c
@@ -10,7 +10,6 @@
* misc2.c: Various functions.
*/
#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
#include <string.h>
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index 6713ab7591..a0d2c7903d 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -12,7 +12,6 @@
*/
#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
#include <string.h>
#include <stdbool.h>
diff --git a/src/nvim/option.c b/src/nvim/option.c
index bb14cae627..8b4aab88a3 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -30,7 +30,6 @@
#define IN_OPTION_C
#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
#include <stdbool.h>
#include <stdint.h>
diff --git a/src/nvim/path.c b/src/nvim/path.c
index eaca85ed40..a14ba38508 100644
--- a/src/nvim/path.c
+++ b/src/nvim/path.c
@@ -1,6 +1,5 @@
#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
#include <stdbool.h>
#include <stdlib.h>
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c
index f3818ef639..8be010c560 100644
--- a/src/nvim/quickfix.c
+++ b/src/nvim/quickfix.c
@@ -11,7 +11,6 @@
*/
#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
#include <stdbool.h>
#include <string.h>
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 3c2c18ed32..bea09fd804 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -87,7 +87,6 @@
*/
#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
#include <stdbool.h>
#include <string.h>
diff --git a/src/nvim/search.c b/src/nvim/search.c
index 0e748dec6d..89c96fe31e 100644
--- a/src/nvim/search.c
+++ b/src/nvim/search.c
@@ -10,7 +10,6 @@
*/
#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
#include <stdbool.h>
#include <string.h>
diff --git a/src/nvim/spell.c b/src/nvim/spell.c
index c228a450d6..a5b66ad220 100644
--- a/src/nvim/spell.c
+++ b/src/nvim/spell.c
@@ -285,7 +285,6 @@
// few bytes as possible, see offset2bytes())
#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
#include <limits.h>
#include <stdbool.h>
diff --git a/src/nvim/strings.c b/src/nvim/strings.c
index 9ffa5c6a76..4bd394cb44 100644
--- a/src/nvim/strings.c
+++ b/src/nvim/strings.c
@@ -1,5 +1,4 @@
-#include <errno.h>
#include <inttypes.h>
#include <stdbool.h>
#include <string.h>
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index 099bf1ca29..f65b21a40b 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -12,7 +12,6 @@
#include <assert.h>
#include <ctype.h>
-#include <errno.h>
#include <inttypes.h>
#include <stdbool.h>
#include <string.h>
diff --git a/src/nvim/tag.c b/src/nvim/tag.c
index 96b6dbe51f..1b3fda8aca 100644
--- a/src/nvim/tag.c
+++ b/src/nvim/tag.c
@@ -11,7 +11,6 @@
*/
#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
#include <stdbool.h>
#include <string.h>
diff --git a/src/nvim/undo.c b/src/nvim/undo.c
index fe6070994f..6c87f01746 100644
--- a/src/nvim/undo.c
+++ b/src/nvim/undo.c
@@ -83,7 +83,6 @@
#include <assert.h>
#include <inttypes.h>
#include <limits.h>
-#include <errno.h>
#include <stdbool.h>
#include <string.h>
diff --git a/src/nvim/window.c b/src/nvim/window.c
index 206cefd484..8ac50b2731 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -6,7 +6,6 @@
* See README.md for an overview of the Vim source code.
*/
-#include <errno.h>
#include <assert.h>
#include <inttypes.h>
#include <stdbool.h>