From af4f0e48eccd1ab1abe361bb70960a8b73775722 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 16 Oct 2013 19:59:45 +0200 Subject: [PATCH] libbb: use instead of Signed-off-by: Thomas Petazzoni Signed-off-by: Denys Vlasenko --- include/libbb.h | 4 ++-- runit/runsv.c | 1 - runit/runsvdir.c | 1 - runit/sv.c | 1 - runit/svlogd.c | 1 - 5 files changed, 2 insertions(+), 6 deletions(-) diff --git a/include/libbb.h b/include/libbb.h index c96546109..58271655d 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -32,12 +32,12 @@ #include #include #include -/* There are two incompatible basename's, let not use them! */ +/* There are two incompatible basename's, let's not use them! */ /* See the dirname/basename man page for details */ #include /* dirname,basename */ #undef basename #define basename dont_use_basename -#include +#include #include #include #include diff --git a/runit/runsv.c b/runit/runsv.c index 3e1a3c8e5..d941e897d 100644 --- a/runit/runsv.c +++ b/runit/runsv.c @@ -33,7 +33,6 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. //usage:#define runsv_full_usage "\n\n" //usage: "Start and monitor a service and optionally an appendant log service" -#include #include #include "libbb.h" #include "runit_lib.h" diff --git a/runit/runsvdir.c b/runit/runsvdir.c index 32526cf4c..af7e75ba7 100644 --- a/runit/runsvdir.c +++ b/runit/runsvdir.c @@ -35,7 +35,6 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. //usage: "\n -P Put each runsv in a new session" //usage: "\n -s SCRIPT Run SCRIPT after signal is processed" -#include #include #include "libbb.h" #include "runit_lib.h" diff --git a/runit/sv.c b/runit/sv.c index 5b01c875c..825e9d45b 100644 --- a/runit/sv.c +++ b/runit/sv.c @@ -169,7 +169,6 @@ Exit Codes //usage: "pause, cont, hup, alarm, interrupt, quit, 1, 2, term, kill: send\n" //usage: "STOP, CONT, HUP, ALRM, INT, QUIT, USR1, USR2, TERM, KILL signal to service" -#include #include #include "libbb.h" #include "runit_lib.h" diff --git a/runit/svlogd.c b/runit/svlogd.c index 8b8a6d858..c080b9acc 100644 --- a/runit/svlogd.c +++ b/runit/svlogd.c @@ -142,7 +142,6 @@ log message, you can use a pattern like this instead //usage: "\n""+,-PATTERN - (de)select line for logging" //usage: "\n""E,ePATTERN - (de)select line for stderr" -#include #include #include "libbb.h" #include "runit_lib.h"