aboutsummaryrefslogtreecommitdiff
path: root/runit/sv.c
diff options
context:
space:
mode:
Diffstat (limited to 'runit/sv.c')
-rw-r--r--runit/sv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/runit/sv.c b/runit/sv.c
index de8a0d8a4..2a256a6b4 100644
--- a/runit/sv.c
+++ b/runit/sv.c
@@ -189,6 +189,7 @@ Exit Codes
189 189
190#include <sys/file.h> 190#include <sys/file.h>
191#include "libbb.h" 191#include "libbb.h"
192#include "common_bufsiz.h"
192#include "runit_lib.h" 193#include "runit_lib.h"
193 194
194struct globals { 195struct globals {
@@ -199,14 +200,14 @@ struct globals {
199 uint64_t tstart, tnow; 200 uint64_t tstart, tnow;
200 svstatus_t svstatus; 201 svstatus_t svstatus;
201} FIX_ALIASING; 202} FIX_ALIASING;
202#define G (*(struct globals*)&bb_common_bufsiz1) 203#define G (*(struct globals*)bb_common_bufsiz1)
203#define acts (G.acts ) 204#define acts (G.acts )
204#define service (G.service ) 205#define service (G.service )
205#define rc (G.rc ) 206#define rc (G.rc )
206#define tstart (G.tstart ) 207#define tstart (G.tstart )
207#define tnow (G.tnow ) 208#define tnow (G.tnow )
208#define svstatus (G.svstatus ) 209#define svstatus (G.svstatus )
209#define INIT_G() do { } while (0) 210#define INIT_G() do { setup_common_bufsiz(); } while (0)
210 211
211 212
212#define str_equal(s,t) (!strcmp((s), (t))) 213#define str_equal(s,t) (!strcmp((s), (t)))