aboutsummaryrefslogtreecommitdiffstats
path: root/src/build.c
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2014-11-17 15:48:23 +0100
committerTharre <tharre3@gmail.com>2014-11-17 15:48:23 +0100
commitc27027cd2eeebfa63c084e746c7da46c952fb255 (patch)
treefee98369607e9adea91914fb60b05e53a20c12ce /src/build.c
parentdf9bc5b9d048c7ecb96838123e39d5bc7c23aa18 (diff)
downloadredo-c27027cd2eeebfa63c084e746c7da46c952fb255.tar.gz
redo-c27027cd2eeebfa63c084e746c7da46c952fb255.tar.xz
redo-c27027cd2eeebfa63c084e746c7da46c952fb255.zip
Merge all redo-*.c files into redo.c.
The resulting redo binary behaves differently if called with each respective redo-* name, and is symlinked to the different command names. This should reduce the memory footprint of a redo build, as the OS only needs to keep one copy of the redo code in memory.
Diffstat (limited to 'src/build.c')
-rw-r--r--src/build.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/build.c b/src/build.c
index 072451b..b8d4b38 100644
--- a/src/build.c
+++ b/src/build.c
@@ -498,7 +498,3 @@ int update_target(const char *target, int ident) {
die("redo: unknown identiier '%c'\n", ident);
}
}
-
-bool environment_sane() {
- return getenv("REDO_ROOT") && getenv("REDO_PARENT_TARGET") && getenv("REDO_MAGIC");
-}