From 4aecb71b0e819aa84a430dacdab2146229c410a5 Mon Sep 17 00:00:00 2001 From: ZyX Date: Mon, 2 Jun 2014 01:05:57 +0400 Subject: Use generated static declarations in cursor.c --- src/nvim/cursor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- cgit