From 651653dddbc28d58dc1dac9978c126907b5ca0c0 Mon Sep 17 00:00:00 2001 From: Tharre Date: Sat, 13 Jun 2015 13:20:34 +0200 Subject: Don't export build_target() build_target() should not be called from outside, update_target() should be used instead. --- src/build.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/build.c') 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); -- cgit v1.2.3-70-g09d2