aboutsummaryrefslogtreecommitdiffstats
path: root/src/build.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/build.c')
-rw-r--r--src/build.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/build.c b/src/build.c
index 19ffa0d..5645bf3 100644
--- a/src/build.c
+++ b/src/build.c
@@ -55,8 +55,7 @@ static void hash_file(const char *target, unsigned char *hash);
/* Build given target, using it's .do script. */
-int build_target(const char *target) {
- dep_info dep;
+static int build_target(const char *dep) {
int retval = 1;
dep.path = get_dep_path(target);