1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

Remove traces of personality calls.

This commit is contained in:
Ulrich Drepper
2000-03-04 01:04:33 +00:00
parent b11f595488
commit 3d71c185b4

View File

@@ -22,7 +22,6 @@
#include <unistd.h> #include <unistd.h>
#include <sysdep.h> #include <sysdep.h>
#include <fpu_control.h> #include <fpu_control.h>
#include <linux/personality.h>
#include <init-first.h> #include <init-first.h>
#include <sys/param.h> #include <sys/param.h>
#include <sys/sysctl.h> #include <sys/sysctl.h>
@@ -59,10 +58,9 @@ char **__libc_argv;
static void static void
init (int argc, char **argv, char **envp) init (int argc, char **argv, char **envp)
{ {
extern int __personality (int);
extern void __getopt_clean_environment (char **); extern void __getopt_clean_environment (char **);
/* We must not call `personality' twice. */ /* Make sure we don't initialize twice. */
if (!__libc_multiple_libcs) if (!__libc_multiple_libcs)
{ {
/* Test whether the kernel is new enough. This test is only /* Test whether the kernel is new enough. This test is only