remove proto.h include from vim.h

This commit is contained in:
Brandon Coleman
2014-06-17 00:13:35 -05:00
committed by Nicolas Hillegeer
parent a568e8b644
commit e3db636546
2 changed files with 0 additions and 50 deletions

View File

@@ -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

View File

@@ -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