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

Side by Side Diff: test/include_dirs/src/includes.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/home_dot_gyp/src/printfoo.c ('k') | test/include_dirs/src/subdir/subdir_includes.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 #include "inc.h" 3 #include "inc.h"
4 #include "include1.h" 4 #include "include1.h"
5 #include "include2.h" 5 #include "include2.h"
6 #include "shadow.h" 6 #include "shadow.h"
7 7
8 int main(int argc, char *argv[]) 8 int main(void)
9 { 9 {
10 printf("Hello from includes.c\n"); 10 printf("Hello from includes.c\n");
11 printf("Hello from %s\n", INC_STRING); 11 printf("Hello from %s\n", INC_STRING);
12 printf("Hello from %s\n", INCLUDE1_STRING); 12 printf("Hello from %s\n", INCLUDE1_STRING);
13 printf("Hello from %s\n", INCLUDE2_STRING); 13 printf("Hello from %s\n", INCLUDE2_STRING);
14 /* Test that include_dirs happen first: The gyp file has a -Ishadow1 14 /* Test that include_dirs happen first: The gyp file has a -Ishadow1
15 cflag and an include_dir of shadow2. Including shadow.h should get 15 cflag and an include_dir of shadow2. Including shadow.h should get
16 the shadow.h from the include_dir. */ 16 the shadow.h from the include_dir. */
17 printf("Hello from %s\n", SHADOW_STRING); 17 printf("Hello from %s\n", SHADOW_STRING);
18 return 0; 18 return 0;
19 } 19 }
OLDNEW
« no previous file with comments | « test/home_dot_gyp/src/printfoo.c ('k') | test/include_dirs/src/subdir/subdir_includes.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698