aboutsummaryrefslogtreecommitdiff
path: root/src/work.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/work.c')
-rw-r--r--src/work.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/work.c b/src/work.c
index 6e658db..62f997e 100644
--- a/src/work.c
+++ b/src/work.c
@@ -21,7 +21,7 @@
#include <unicode/string.h>
#include "exitcodes.h"
-#include "flags.h"
+#include "globals.h"
#include "util.h"
#include "work.h"
@@ -64,11 +64,6 @@ static typeof(operator_dispatch) *operators[] = {
['X'] = operator_X,
};
-extern atomic_int rv;
-extern op_t *ops;
-extern bool cflag;
-extern typeof(pcre2_match) *pcre2_match_fn;
-
void
@@ -454,7 +449,7 @@ compute_pos(const char8_t *p, pos_state_t *ps)
ps->row++;
ps->col = 0;
} else
- ps->col = ucswdth(g, ps->col, 8); /* TODO: Configurable tabsize? */
+ ps->col = ucswdth(g, ps->col, grab_tabsize);
}
}