From 557fab43bd3cf75f87ba7efb65c9f4884e261a6c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 23 Feb 2002 08:47:54 +0000 Subject: Update. 2002-02-23 Ulrich Drepper * csu/set-init.c: Moved to... * sysdeps/mach/hurd/set-init.c: ...here. New file. * csu/Makefile: Don't compile set-init. * sysdeps/mach/hurd/Makefile: Compile set-init for subdir csu. * sysdeps/mach/hurd/i386/init-first.c: Call __init_misc in addition to __libc_init. * sysdeps/mach/hurd/mips/init-first.c: Likewise. * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. * sysdeps/unix/sysv/linux/init-first.c: Call __init_misc instead of __libc_init. * misc/init-misc.c: Always export __init_misc. Don't define hooks for __libc_subinit. --- misc/init-misc.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'misc/init-misc.c') diff --git a/misc/init-misc.c b/misc/init-misc.c index 8091e8f478..8b877c3c43 100644 --- a/misc/init-misc.c +++ b/misc/init-misc.c @@ -1,5 +1,5 @@ /* Define and initialize `__progname' et. al. - Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1994,1995,1996,1997,1998,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -25,16 +25,6 @@ weak_alias (__progname_full, program_invocation_name) weak_alias (__progname, program_invocation_short_name) -#ifdef HAVE_GNU_LD -static -#endif /* HAVE_GNU_LD */ -void __init_misc (int argc, char **argv, char **envp) - __attribute__ ((unused)); - - -#ifdef HAVE_GNU_LD -static -#endif /* HAVE_GNU_LD */ void __init_misc (int argc, char **argv, char **envp) { @@ -48,7 +38,3 @@ __init_misc (int argc, char **argv, char **envp) __progname_full = argv[0]; } } - -#ifdef HAVE_GNU_LD -text_set_element (__libc_subinit, __init_misc); -#endif -- cgit v1.2.3