aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-04 01:04:33 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-04 01:04:33 +0000
commit3d71c185b4797e1c6439ba6652432e5d9510cc98 (patch)
treef5b5fed6ef57a60041bc1968e6ac6183e95ed693 /sysdeps/unix
parentb11f59548803413101b72d28f42cbe997d64a144 (diff)
downloadglibc-3d71c185b4797e1c6439ba6652432e5d9510cc98.zip
glibc-3d71c185b4797e1c6439ba6652432e5d9510cc98.tar.gz
glibc-3d71c185b4797e1c6439ba6652432e5d9510cc98.tar.bz2
Remove traces of personality calls.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/init-first.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/init-first.c b/sysdeps/unix/sysv/linux/init-first.c
index 93adb90..9a8f3c5 100644
--- a/sysdeps/unix/sysv/linux/init-first.c
+++ b/sysdeps/unix/sysv/linux/init-first.c
@@ -22,7 +22,6 @@
#include <unistd.h>
#include <sysdep.h>
#include <fpu_control.h>
-#include <linux/personality.h>
#include <init-first.h>
#include <sys/param.h>
#include <sys/sysctl.h>
@@ -59,10 +58,9 @@ char **__libc_argv;
static void
init (int argc, char **argv, char **envp)
{
- extern int __personality (int);
extern void __getopt_clean_environment (char **);
- /* We must not call `personality' twice. */
+ /* Make sure we don't initialize twice. */
if (!__libc_multiple_libcs)
{
/* Test whether the kernel is new enough. This test is only