vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 5dbf29306416bad5d3d8b1e44e54a22f8ddecfc8
parent 2d46171d464494c4f5413b63862c959237d50b2f
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Mon, 16 Jan 2017 14:56:04 +0100

vis: cleanup regex header inclusion

Diffstat:
Mtext-regex.c | 1-
Mview.c | 1-
Mvis-core.h | 1-
Mvis-motions.c | 1-
Mvis.c | 1-
5 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/text-regex.c b/text-regex.c @@ -1,6 +1,5 @@ #include <stdlib.h> #include <string.h> -#include <regex.h> #include "text-regex.h" diff --git a/view.c b/view.c @@ -3,7 +3,6 @@ #include <wchar.h> #include <ctype.h> #include <errno.h> -#include <regex.h> #include <limits.h> #include "view.h" #include "text.h" diff --git a/vis-core.h b/vis-core.h @@ -7,7 +7,6 @@ #include "vis-lua.h" #include "register.h" #include "text.h" -#include "text-regex.h" #include "map.h" #include "ring-buffer.h" #include "array.h" diff --git a/vis-motions.c b/vis-motions.c @@ -1,6 +1,5 @@ #include <stdio.h> #include <string.h> -#include <regex.h> #include "vis-core.h" #include "text-motions.h" #include "text-objects.h" diff --git a/vis.c b/vis.c @@ -10,7 +10,6 @@ #include <limits.h> #include <ctype.h> #include <time.h> -#include <regex.h> #include <sys/select.h> #include <sys/types.h> #include <sys/wait.h>