libc: Fix prctl() declaration.
This change fixes the prctl() declaration to match GLibc, and allow us to build gcc-4.6 for Android (among other things). Note that this does not change the source and binary interfaces. Change-Id: I3900c957f0da8b3548cbe9da8c41d50099dc19d6
This commit is contained in:
@@ -70,8 +70,9 @@ extern int execlp(const char *, const char *, ...);
|
||||
extern int execle(const char *, const char *, ...);
|
||||
extern int capget(cap_user_header_t hdrp, cap_user_data_t datap);
|
||||
extern int capset(cap_user_header_t hdrp, const cap_user_data_t datap);
|
||||
extern int prctl(int option, unsigned long arg2, unsigned long arg3,
|
||||
unsigned long arg4, unsigned long arg5);
|
||||
|
||||
/* IMPORTANT: See comment under <sys/prctl.h> about this declaration */
|
||||
extern int prctl(int option, ...);
|
||||
|
||||
extern int nice(int);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user