Merge "Make getpagesize inline static."

This commit is contained in:
Treehugger Robot 2016-09-15 03:34:30 +00:00 committed by Gerrit Code Review
commit be454614c2
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ int acct(const char* __filepath);
#if __ANDROID_API__ >= 21
int getpagesize(void) __INTRODUCED_IN(21);
#else
__inline__ int getpagesize(void) {
static __inline__ int getpagesize(void) {
return sysconf(_SC_PAGESIZE);
}
#endif