Change sysconf(3) to return long
See bionic 60d84af1726225320b26683b726e5e735d9d76e8 BUG=18390956 Change-Id: I20c6aa48115610b35e1d59f9f37ce5abbe6ac2f7
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user