aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/proto.h49
-rw-r--r--src/nvim/vim.h1
2 files changed, 0 insertions, 50 deletions
diff --git a/src/nvim/proto.h b/src/nvim/proto.h
deleted file mode 100644
index d628e1f998..0000000000
--- a/src/nvim/proto.h
+++ /dev/null
@@ -1,49 +0,0 @@
-#ifndef NVIM_PROTO_H
-#define NVIM_PROTO_H
-
-/*
- * VIM - Vi IMproved by Bram Moolenaar
- *
- * Do ":help uganda" in Vim to read copying and usage conditions.
- * Do ":help credits" in Vim to see a list of people who contributed.
- */
-
-/*
- * proto.h: include the (automatically generated) function prototypes
- */
-
-/*
- * Don't include these while generating prototypes. Prevents problems when
- * files are missing.
- */
-#if !defined(PROTO) && !defined(NOPROTO)
-
-/*
- * Machine-dependent routines.
- */
-/* avoid errors in function prototypes */
-# define Display int
-# define Widget int
-# define GdkEvent int
-# define GdkEventKey int
-# define XImage int
-
-/* These prototypes cannot be produced automatically and conflict with
- * the old-style prototypes in message.c. */
-int
-smsg(char_u *, ...);
-
-int
-smsg_attr(int, char_u *, ...);
-
-int
-vim_snprintf_add(char *, size_t, char *, ...);
-
-int
-vim_snprintf(char *, size_t, char *, ...);
-
-int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs);
-
-#endif /* !PROTO && !NOPROTO */
-
-#endif // NVIM_PROTO_H
diff --git a/src/nvim/vim.h b/src/nvim/vim.h
index 4f321dc0b6..66adab1f2d 100644
--- a/src/nvim/vim.h
+++ b/src/nvim/vim.h
@@ -1105,7 +1105,6 @@ typedef int VimClipboard; /* This is required for the prototypes. */
#include "nvim/buffer_defs.h" /* buffer and windows */
#include "nvim/ex_cmds_defs.h" /* Ex command defines */
-#include "nvim/proto.h" /* function prototypes */
/* This has to go after the include of proto.h, as proto/gui.pro declares
* functions of these names. The declarations would break if the defines had