diff options
author | Tharre <tharre3@gmail.com> | 2015-06-13 13:20:34 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2015-06-13 13:20:34 +0200 |
commit | 651653dddbc28d58dc1dac9978c126907b5ca0c0 (patch) | |
tree | 00aa878cff108b34ac55b1f72c8f5fd99c81a83e /src/build.c | |
parent | 9d9429df54b098ada384fabbbf1453dea6c18d01 (diff) | |
download | redo-651653dddbc28d58dc1dac9978c126907b5ca0c0.tar.gz redo-651653dddbc28d58dc1dac9978c126907b5ca0c0.tar.xz redo-651653dddbc28d58dc1dac9978c126907b5ca0c0.zip |
Don't export build_target()
build_target() should not be called from outside, update_target() should be used
instead.
Diffstat (limited to 'src/build.c')
-rw-r--r-- | src/build.c | 3 |
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); |