← Commit list

c9dc2ac57

Denis Vlasenko
Denis Vlasenko
2007-09-27
FAILED Duration: 28s

Subject

make variables static

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

runit/runsvdir.c+1 -1
@@ -42,7 +42,7 @@ struct service {
smallint isgone;
};
-struct service *sv;
+static struct service *sv;
static char *svdir;
static int svnum;
static char *rplog;
runit/sv.c+1 -1
@@ -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;
scripts/find_stray_common_vars+1 -1
@@ -3,7 +3,7 @@
# Common variables are elusive, they don't show up in size output!
# This script will show all commons in *.o, sorted by size
-find -name '*.o' \
+find ! -path './scripts/*' -a ! -name built-in.o -a -name '*.o' \
| while read name; do
b=`basename "$name"`
nm "$name" | sed "s/^/$b: /"