Change sysconf(3) to return long

See bionic 60d84af1726225320b26683b726e5e735d9d76e8

BUG=18390956

Change-Id: I20c6aa48115610b35e1d59f9f37ce5abbe6ac2f7
This commit is contained in:
Andrew Hsieh
2014-11-17 09:48:07 +08:00
parent f72859a145
commit d3ab539366
7 changed files with 7 additions and 7 deletions

View File

@@ -129,7 +129,7 @@ __BEGIN_DECLS
#define _SC_AVPHYS_PAGES 0x0063
#define _SC_MONOTONIC_CLOCK 0x0064
extern int sysconf(int name);
long sysconf(int name);
__END_DECLS

View File

@@ -168,7 +168,7 @@ static __inline__ int __getpageshift(void) {
return __page_shift;
}
extern int sysconf(int name);
long sysconf(int);
extern int daemon(int, int);