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

Side by Side Diff: fusl/src/mman/mmap.c

Issue 1579273002: Remove -Wno-ignored-attributes from fusl build (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase Created 4 years, 11 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 | « fusl/src/dirent/__getdents.c ('k') | fusl/src/stat/statvfs.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 <unistd.h> 1 #include <unistd.h>
2 #include <sys/mman.h> 2 #include <sys/mman.h>
3 #include <errno.h> 3 #include <errno.h>
4 #include <stdint.h> 4 #include <stdint.h>
5 #include <limits.h> 5 #include <limits.h>
6 #include "syscall.h" 6 #include "syscall.h"
7 #include "libc.h" 7 #include "libc.h"
8 8
9 static void dummy(void) { } 9 static void dummy(void) { }
10 weak_alias(dummy, __vm_wait); 10 weak_alias(dummy, __vm_wait);
(...skipping 16 matching lines...) Expand all
27 } 27 }
28 #ifdef SYS_mmap2 28 #ifdef SYS_mmap2
29 return (void *)syscall(SYS_mmap2, start, len, prot, flags, fd, off/UNIT) ; 29 return (void *)syscall(SYS_mmap2, start, len, prot, flags, fd, off/UNIT) ;
30 #else 30 #else
31 return (void *)syscall(SYS_mmap, start, len, prot, flags, fd, off); 31 return (void *)syscall(SYS_mmap, start, len, prot, flags, fd, off);
32 #endif 32 #endif
33 } 33 }
34 34
35 weak_alias(__mmap, mmap); 35 weak_alias(__mmap, mmap);
36 36
37 LFS64(mmap); 37 weak_alias(__mmap, mmap64);
OLDNEW
« no previous file with comments | « fusl/src/dirent/__getdents.c ('k') | fusl/src/stat/statvfs.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698