Index: test/ninja/action_dependencies/src/b.c |
=================================================================== |
--- test/ninja/action_dependencies/src/b.c (revision 1215) |
+++ test/ninja/action_dependencies/src/b.c (working copy) |
@@ -1,4 +1,4 @@ |
-/* Copyright (c) 2011 Google Inc. All rights reserved. |
+/* Copyright (c) 2012 Google Inc. All rights reserved. |
* Use of this source code is governed by a BSD-style license that can be |
* found in the LICENSE file. |
*/ |
@@ -8,9 +8,10 @@ |
#include "b.h" |
int main(int argc, char** argv) { |
+ FILE* f; |
if (argc < 2) |
return 1; |
- FILE* f = fopen(argv[1], "wt"); |
+ f = fopen(argv[1], "wt"); |
fprintf(f, "#define VALUE %d\n", funcA()); |
fclose(f); |
return 0; |