aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 0e55353712..7b567be564 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -98,8 +98,6 @@ typedef struct {
#define EDIT_TAG 3 /* tag name argument given, use tagname */
#define EDIT_QF 4 /* start in quickfix mode */
-#if defined(UNIX) && !defined(NO_VIM_MAIN)
-#endif
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "main.c.generated.h"
#endif
@@ -134,7 +132,7 @@ static char *(main_errors[]) =
};
#ifndef NO_VIM_MAIN /* skip this for unittests */
- int main(int argc, char **argv)
+int main(int argc, char **argv)
{
char_u *fname = NULL; /* file name from command line */
mparm_T params; /* various parameters passed between