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

Side by Side Diff: test/library/src/program.c

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/include_dirs/src/subdir/subdir_includes.c ('k') | test/link-dependency/mymalloc.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 #include <stdio.h> 1 #include <stdio.h>
2 2
3 extern void lib1_function(void); 3 extern void lib1_function(void);
4 extern void lib2_function(void); 4 extern void lib2_function(void);
5 extern void moveable_function(void); 5 extern void moveable_function(void);
6 6
7 int main(int argc, char *argv[]) 7 int main(void)
8 { 8 {
9 fprintf(stdout, "Hello from program.c\n"); 9 fprintf(stdout, "Hello from program.c\n");
10 fflush(stdout); 10 fflush(stdout);
11 lib1_function(); 11 lib1_function();
12 lib2_function(); 12 lib2_function();
13 moveable_function(); 13 moveable_function();
14 return 0; 14 return 0;
15 } 15 }
OLDNEW
« no previous file with comments | « test/include_dirs/src/subdir/subdir_includes.c ('k') | test/link-dependency/mymalloc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698