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

Side by Side Diff: tests/spec2k/197.parser/diff

Issue 2244023002: Fix bugs with SPEC2k for WebAssembly (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client@master
Patch Set: Specify function pointer types to fix 188.ammp Created 4 years, 4 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
« no previous file with comments | « tests/spec2k/188.ammp/diff.README ('k') | tests/spec2k/197.parser/diff.README » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 diff -Naurb src2/header.h src/header.h
2 --- src2/header.h 2016-08-12 18:09:40.819477666 -0700
3 +++ src/header.h 2016-08-12 18:07:15.157315463 -0700
4 @@ -23,7 +23,9 @@
5 #include <sys/resource.h> /* ditto */
6 #endif
7
8 +#ifndef __EMSCRIPTEN__
9 int strncasecmp(const char *s1, const char *s2, size_t);
Derek Schuff 2016/08/15 17:57:45 This declaration is the same as the one for strnca
ddchen 2016/08/16 04:58:51 Done.
10 +#endif
11 void mark_allocation_point(void);
12 void reset_allocation_point(void);
13 void initialize_memory(void);
14 diff -Naurb src2/strncasecmp.c src/strncasecmp.c
15 --- src2/strncasecmp.c 2016-08-12 18:09:40.819477666 -0700
16 +++ src/strncasecmp.c 2016-08-12 18:09:14.667089431 -0700
17 @@ -3,7 +3,9 @@
18
19 #ifdef TEST
20 #include <stdio.h>
21 +#ifndef __EMSCRIPTEN__
22 int strncasecmp(const char *s1, const char *s2, size_t n);
23 +#endif
24
25 int main (int argc, char *argv[]) {
26 if (argc != 4) {
27 @@ -15,6 +17,7 @@
28 }
29 #endif
30
31 +#ifndef __EMSCRIPTEN__
32 int strncasecmp(const char *s1, const char *s2, size_t n)
33 {
34
35 @@ -35,5 +38,6 @@
36 if (*j) return 1;
37 return 0;
38 }
39 +#endif
40
41
OLDNEW
« no previous file with comments | « tests/spec2k/188.ammp/diff.README ('k') | tests/spec2k/197.parser/diff.README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698