Merge "change argument type in madvise"

This commit is contained in:
Yabin Cui 2014-12-03 19:57:50 +00:00 committed by Gerrit Code Review
commit 1898967e41
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ int munmap(void*, size_t) all
void* mremap(void*, size_t, size_t, unsigned long) all
int msync(const void*, size_t, int) all
int mprotect(const void*, size_t, int) all
int madvise(const void*, size_t, int) all
int madvise(void*, size_t, int) all
int mlock(const void* addr, size_t len) all
int munlock(const void* addr, size_t len) all
int mlockall(int flags) all

View File

@ -54,7 +54,7 @@ extern int mlockall(int);
extern int munlockall(void);
extern int mlock(const void*, size_t);
extern int munlock(const void*, size_t);
extern int madvise(const void*, size_t, int);
extern int madvise(void*, size_t, int);
extern int mlock(const void*, size_t);
extern int munlock(const void*, size_t);