Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: test/ninja/action_dependencies/src/b.c

Issue 9425036: make action_dependencies test win32 and c89 friendly (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/ninja/action_dependencies/gyptest-action-dependencies.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « test/ninja/action_dependencies/gyptest-action-dependencies.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698