From a43d43d5745def2a7d8fe348c85f47a237006e1a Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sat, 30 Jul 2016 01:07:47 +0000 Subject: [PATCH] Remove usage of _WITH_GETLINE from usr.bin --- usr.bin/calendar/io.c | 1 - usr.bin/checknr/checknr.c | 1 - usr.bin/comm/comm.c | 1 - usr.bin/grep/grep.c | 1 - usr.bin/mandoc/Makefile | 1 - usr.bin/sdiff/sdiff.c | 1 - usr.bin/sed/main.c | 1 - usr.bin/soelim/soelim.c | 1 - usr.bin/uniq/uniq.c | 1 - 9 files changed, 9 deletions(-) diff --git a/usr.bin/calendar/io.c b/usr.bin/calendar/io.c index 0a5dd854546..8c594fbea4d 100644 --- a/usr.bin/calendar/io.c +++ b/usr.bin/calendar/io.c @@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#define _WITH_GETLINE #include #include #include diff --git a/usr.bin/checknr/checknr.c b/usr.bin/checknr/checknr.c index 06395b0063b..240710bb33e 100644 --- a/usr.bin/checknr/checknr.c +++ b/usr.bin/checknr/checknr.c @@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$"); * structured typesetting. */ #include -#define _WITH_GETLINE #include #include #include diff --git a/usr.bin/comm/comm.c b/usr.bin/comm/comm.c index 54763e1038f..ccd2c2fda31 100644 --- a/usr.bin/comm/comm.c +++ b/usr.bin/comm/comm.c @@ -49,7 +49,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#define _WITH_GETLINE #include #include #include diff --git a/usr.bin/grep/grep.c b/usr.bin/grep/grep.c index 2dc5a1dfa77..ecb176df42b 100644 --- a/usr.bin/grep/grep.c +++ b/usr.bin/grep/grep.c @@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#define _WITH_GETLINE #include #include #include diff --git a/usr.bin/mandoc/Makefile b/usr.bin/mandoc/Makefile index 6281b499d38..9e397cf3191 100644 --- a/usr.bin/mandoc/Makefile +++ b/usr.bin/mandoc/Makefile @@ -83,7 +83,6 @@ SRCS+= ${DB_SRCS} WARNS?= 2 CFLAGS+= -DHAVE_CONFIG_H \ - -D_WITH_GETLINE \ -I${.CURDIR}/../../lib/libopenbsd/ \ -I${.CURDIR}/../../contrib/sqlite3 LIBADD= openbsd sqlite3 z diff --git a/usr.bin/sdiff/sdiff.c b/usr.bin/sdiff/sdiff.c index 008de5359a3..4aa11b652ac 100644 --- a/usr.bin/sdiff/sdiff.c +++ b/usr.bin/sdiff/sdiff.c @@ -22,7 +22,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#define _WITH_GETLINE #include #include #include diff --git a/usr.bin/sed/main.c b/usr.bin/sed/main.c index 97efab316b4..fb3eca89d80 100644 --- a/usr.bin/sed/main.c +++ b/usr.bin/sed/main.c @@ -58,7 +58,6 @@ static const char sccsid[] = "@(#)main.c 8.2 (Berkeley) 1/3/94"; #include #include #include -#define _WITH_GETLINE #include #include #include diff --git a/usr.bin/soelim/soelim.c b/usr.bin/soelim/soelim.c index 4d747ee13bf..72406f62a4f 100644 --- a/usr.bin/soelim/soelim.c +++ b/usr.bin/soelim/soelim.c @@ -32,7 +32,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#define _WITH_GETLINE #include #include #include diff --git a/usr.bin/uniq/uniq.c b/usr.bin/uniq/uniq.c index 7c1b0e3a0ea..e32e0e18b33 100644 --- a/usr.bin/uniq/uniq.c +++ b/usr.bin/uniq/uniq.c @@ -53,7 +53,6 @@ static const char rcsid[] = #include #include #include -#define _WITH_GETLINE #include #include #include