Clean up some misinformation around prctl.
prctl shouldn't be in <unistd.h>. Change-Id: I29609fc91c033e1ad143b75d9b4eb17aefbd63d6
This commit is contained in:
@@ -25,20 +25,16 @@
|
||||
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _SYS_PRCTL_H
|
||||
#define _SYS_PRCTL_H
|
||||
|
||||
#include <linux/prctl.h>
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#include <linux/prctl.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
/* IMPORTANT NOTE: This function is declared as taking a variable number
|
||||
* of arguments to match the GLibc definition. However
|
||||
* its declaration inside SYSCALLS.TXT *must* make it
|
||||
* take 6 arguments to ensure consistency with the kernel
|
||||
* implementation.
|
||||
*/
|
||||
extern int prctl(int option, ...);
|
||||
|
||||
__END_DECLS
|
||||
|
Reference in New Issue
Block a user