diff options
author | Tharre <tharre3@gmail.com> | 2014-11-11 14:45:56 +0100 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2014-11-11 22:06:54 +0100 |
commit | 19cba89127381d9dc06d1e823b123231496e9a3d (patch) | |
tree | 41512611f8fba3cde9cdb2f098156b4074ea9d17 /src/redo-ifchange.c | |
parent | 56f3fa373a76842275b199c9ce14fd8e626bd909 (diff) | |
download | redo-19cba89127381d9dc06d1e823b123231496e9a3d.tar.gz redo-19cba89127381d9dc06d1e823b123231496e9a3d.tar.xz redo-19cba89127381d9dc06d1e823b123231496e9a3d.zip |
Fix indentation
Diffstat (limited to 'src/redo-ifchange.c')
-rw-r--r-- | src/redo-ifchange.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/redo-ifchange.c b/src/redo-ifchange.c index 75bd984..cfc017b 100644 --- a/src/redo-ifchange.c +++ b/src/redo-ifchange.c @@ -13,22 +13,22 @@ #include "dbg.h" int main(int argc, char *argv[]) { - if (!environment_sane()) { - fprintf(stderr, "redo: environment variables are missing, \ - please use %s only in do scripts.\n", argv[0]); - exit(1); - } + if (!environment_sane()) { + fprintf(stderr, "redo: environment variables are missing, \ + please use %s only in do scripts.\n", argv[0]); + exit(1); + } - for (int i = 1; i < argc; ++i) { - /*debug("Testing if %s is up-to-date ...\n", argv[i]);*/ - if (has_changed(argv[i], 'c', false)) { - /*printf("=> no\n");*/ - build_target(argv[i]); - } else { - /*printf("=> yes\n");*/ - } - add_dep(argv[i], NULL, 'c'); - } + for (int i = 1; i < argc; ++i) { + /*debug("Testing if %s is up-to-date ...\n", argv[i]);*/ + if (has_changed(argv[i], 'c', false)) { + /*printf("=> no\n");*/ + build_target(argv[i]); + } else { + /*printf("=> yes\n");*/ + } + add_dep(argv[i], NULL, 'c'); + } - return 0; + return 0; } |