diff options
author | ZyX <kp-pav@ya.ru> | 2014-06-02 01:05:57 +0400 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-06-02 11:04:18 -0300 |
commit | 4aecb71b0e819aa84a430dacdab2146229c410a5 (patch) | |
tree | 5d274c892e4d53f5e976ae8f6f58aba030785e02 /src | |
parent | 1747d3d940b1d46a68c489582cf50b05a4e3358e (diff) | |
download | rneovim-4aecb71b0e819aa84a430dacdab2146229c410a5.tar.gz rneovim-4aecb71b0e819aa84a430dacdab2146229c410a5.tar.bz2 rneovim-4aecb71b0e819aa84a430dacdab2146229c410a5.zip |
Use generated static declarations in cursor.c
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/cursor.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/cursor.c b/src/nvim/cursor.c index 8f8bc60510..5049a51872 100644 --- a/src/nvim/cursor.c +++ b/src/nvim/cursor.c @@ -10,7 +10,9 @@ #include "nvim/screen.h" #include "nvim/vim.h" -static int coladvance2(pos_T *pos, bool addspaces, bool finetune, colnr_T wcol); +#ifdef INCLUDE_GENERATED_DECLARATIONS +# include "cursor.c.generated.h" +#endif /* * Get the screen position of the cursor. |