aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-06-02 11:24:02 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-06-02 11:24:02 -0300
commitcab8cf970c09ea465d30e11eb356e2e5d37dc544 (patch)
tree5d274c892e4d53f5e976ae8f6f58aba030785e02 /src/nvim/misc1.c
parent52a9a5b0b0c53a1481d901f39ed0d1e7e86c3853 (diff)
parent4aecb71b0e819aa84a430dacdab2146229c410a5 (diff)
downloadrneovim-cab8cf970c09ea465d30e11eb356e2e5d37dc544.tar.gz
rneovim-cab8cf970c09ea465d30e11eb356e2e5d37dc544.tar.bz2
rneovim-cab8cf970c09ea465d30e11eb356e2e5d37dc544.zip
Merge pull request #710 'Automatically generate declarations'
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index 18a6e4bd7a..6774a578a2 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -52,10 +52,10 @@
#include "nvim/window.h"
#include "nvim/os/os.h"
#include "nvim/os/shell.h"
-static char_u *vim_version_dir(char_u *vimdir);
-static char_u *remove_tail(char_u *p, char_u *pend, char_u *name);
-static void init_users(void);
+#ifdef INCLUDE_GENERATED_DECLARATIONS
+# include "misc1.c.generated.h"
+#endif
/* All user names (for ~user completion as done by shell). */
static garray_T ga_users;
@@ -1855,11 +1855,6 @@ void changed_int(void)
need_maketitle = TRUE; /* set window title later */
}
-static void changedOneline(buf_T *buf, linenr_T lnum);
-static void changed_lines_buf(buf_T *buf, linenr_T lnum, linenr_T lnume,
- long xtra);
-static void changed_common(linenr_T lnum, colnr_T col, linenr_T lnume,
- long xtra);
/*
* Changed bytes within a single line for the current buffer.