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

Side by Side Diff: test/link-dependency/mymalloc.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/library/src/program.c ('k') | test/link-objects/base.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 <stdlib.h> 1 #include <stdlib.h>
2 2
3 // The windows ninja generator is expecting an import library to get generated, 3 // The windows ninja generator is expecting an import library to get generated,
4 // but it doesn't if there are no exports. 4 // but it doesn't if there are no exports.
5 #ifdef _MSC_VER 5 #ifdef _MSC_VER
6 __declspec(dllexport) void foo() {} 6 __declspec(dllexport) void foo() {}
7 #endif 7 #endif
8 8
9 void *malloc(size_t size) { 9 void *malloc(size_t size) {
10 (void)size;
10 return (void*)0xdeadbeef; 11 return (void*)0xdeadbeef;
11 } 12 }
OLDNEW
« no previous file with comments | « test/library/src/program.c ('k') | test/link-objects/base.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698