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

Side by Side Diff: test/actions/src/subdir3/generate_main.py

Issue 316163002: Remove unused parameters from test code. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Use int main(void) instead Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « test/actions/src/subdir1/program.c ('k') | test/assembly/src/program.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 2
3 # Copyright (c) 2009 Google Inc. All rights reserved. 3 # Copyright (c) 2009 Google Inc. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 import sys 7 import sys
8 8
9 contents = """ 9 contents = """
10 #include <stdio.h> 10 #include <stdio.h>
11 11
12 int main(int argc, char *argv[]) 12 int main(void)
13 { 13 {
14 printf("Hello from generate_main.py\\n"); 14 printf("Hello from generate_main.py\\n");
15 return 0; 15 return 0;
16 } 16 }
17 """ 17 """
18 18
19 open(sys.argv[1], 'w').write(contents) 19 open(sys.argv[1], 'w').write(contents)
20 20
21 sys.exit(0) 21 sys.exit(0)
OLDNEW
« no previous file with comments | « test/actions/src/subdir1/program.c ('k') | test/assembly/src/program.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698