aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/pty_process_unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/os/pty_process_unix.h')
-rw-r--r--src/nvim/os/pty_process_unix.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/nvim/os/pty_process_unix.h b/src/nvim/os/pty_process_unix.h
index 05603c8e53..1a77ae5fd5 100644
--- a/src/nvim/os/pty_process_unix.h
+++ b/src/nvim/os/pty_process_unix.h
@@ -4,8 +4,7 @@
#include <stdint.h>
#include <sys/ioctl.h>
-#include "nvim/event/process.h"
-#include "nvim/types_defs.h"
+#include "nvim/event/defs.h"
typedef struct {
Process process;
@@ -14,16 +13,6 @@ typedef struct {
int tty_fd;
} PtyProcess;
-static inline PtyProcess pty_process_init(Loop *loop, void *data)
-{
- PtyProcess rv;
- rv.process = process_init(loop, kProcessTypePty, data);
- rv.width = 80;
- rv.height = 24;
- rv.tty_fd = -1;
- return rv;
-}
-
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "os/pty_process_unix.h.generated.h"
#endif