aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/getchar.h')
-rw-r--r--src/nvim/getchar.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/nvim/getchar.h b/src/nvim/getchar.h
index 177a021706..4e962c9b03 100644
--- a/src/nvim/getchar.h
+++ b/src/nvim/getchar.h
@@ -1,11 +1,11 @@
#pragma once
-#include <stdbool.h>
-#include <stdint.h>
+#include <stddef.h> // IWYU pragma: keep
+#include <stdint.h> // IWYU pragma: keep
#include "nvim/eval/typval_defs.h" // IWYU pragma: keep
-#include "nvim/getchar_defs.h" // IWYU pragma: export
-#include "nvim/os/fileio.h"
+#include "nvim/getchar_defs.h" // IWYU pragma: keep
+#include "nvim/os/fileio_defs.h"
#include "nvim/types_defs.h" // IWYU pragma: keep
/// Argument for flush_buffers().
@@ -15,11 +15,7 @@ typedef enum {
FLUSH_INPUT, ///< flush typebuf and inchar() input
} flush_buffers_T;
-/// Maximum number of streams to read script from
-enum { NSCRIPT = 15, };
-
-/// Streams to read script from
-extern FileDescriptor *scriptin[NSCRIPT];
+enum { NSCRIPT = 15, }; ///< Maximum number of streams to read script from
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "getchar.h.generated.h"