diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-09-13 17:26:54 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-09-13 17:26:54 +0200 |
commit | 32d19c1820305729c0d1b21536b18bae2d8378ed (patch) | |
tree | 6dd790dd68ffc208a6f46cba099ec58df06d0f80 /src/workshop.c | |
parent | 78dcd4f002c41fff9c15434336f57210edc384f2 (diff) | |
download | vim-git-32d19c1820305729c0d1b21536b18bae2d8378ed.tar.gz |
patch 8.1.0380: "make proto" doesn't work wellv8.1.0380
Problem: "make proto" doesn't work well.
Solution: Define a few more types for cproto. Update proto files. Fix that
workshop didn't build.
Diffstat (limited to 'src/workshop.c')
-rw-r--r-- | src/workshop.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/workshop.c b/src/workshop.c index cb6ba3e59..425174350 100644 --- a/src/workshop.c +++ b/src/workshop.c @@ -8,6 +8,7 @@ * See README.txt for an overview of the Vim source code. */ +#include "protodef.h" #ifdef HAVE_CONFIG_H # include "auto/config.h" #endif @@ -1541,7 +1542,7 @@ workshop_beval_cb( #ifdef FEAT_VARTABS idx = computeIndex(col, text, beval->ts, beval->vts); #else - idx = computeIndex(col, text, beval->ts); + idx = computeIndex(col, text, beval->ts, 0); #endif if (idx > 0) { @@ -1577,11 +1578,8 @@ workshop_beval_cb( computeIndex( int wantedCol, char_u *line, - int ts -#ifdef FEAT_VARTABS - int *vts -#else - ) + int ts, + int *vts UNUSED) { int col = 0; int idx = 0; |