vis

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

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

commit 8cf8f1eb31f3d96c85d8dc0113aebf19fd292ad8
parent 74553a90a8ed281c7e8d08b7acad2b9bed9d2061
Author: Christian Hesse <mail@eworm.de>
Date:   Tue, 16 Sep 2014 20:43:31 +0200

This fixes warning with latest glibc (>= 2.19.90), which deprecated _BSD_SOURCE

warning: _BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE

Diffstat:
Mvis.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/vis.c b/vis.c @@ -13,6 +13,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#define _DEFAULT_SOURCE #define _POSIX_SOURCE /* Necessary for SIGWINCH on OpenBSD */ #define _BSD_SOURCE