summaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
authorDenis Vlasenko2007-09-27 10:08:02 +0000
committerDenis Vlasenko2007-09-27 10:08:02 +0000
commitc9dc2ac578278e86be248cc21e53081f7054da83 (patch)
tree72754c2d47216adf8af915e7ace49c4576c5108f /runit
parenta619b85ef5c4c8215bf11552e9a6433183f22108 (diff)
downloadbusybox-c9dc2ac578278e86be248cc21e53081f7054da83.zip
busybox-c9dc2ac578278e86be248cc21e53081f7054da83.tar.gz
make variables static
Diffstat (limited to 'runit')
-rw-r--r--runit/runsvdir.c2
-rw-r--r--runit/sv.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/runit/runsvdir.c b/runit/runsvdir.c
index 94397bc..8d25923 100644
--- a/runit/runsvdir.c
+++ b/runit/runsvdir.c
@@ -42,7 +42,7 @@ struct service {
smallint isgone;
};
-struct service *sv;
+static struct service *sv;
static char *svdir;
static int svnum;
static char *rplog;
diff --git a/runit/sv.c b/runit/sv.c
index c87f565..406dc6f 100644
--- a/runit/sv.c
+++ b/runit/sv.c
@@ -163,7 +163,7 @@ static char **service;
static unsigned rc;
/* "Bernstein" time format: unix + 0x400000000000000aULL */
static uint64_t tstart, tnow;
-svstatus_t svstatus;
+static svstatus_t svstatus;
static void fatal_cannot(const char *m1) ATTRIBUTE_NORETURN;