diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-08-11 20:40:40 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-08-11 20:40:40 +0000 |
commit | 0ed24bc67fe5ac9cc5e01d68c0959fcdfccc96aa (patch) | |
tree | df2625fe615dc5fe324eaddc3417451289d2ae6e /sysdeps/mach/hurd/mips/init-first.c | |
parent | 44ad8377fb7f62dedf950ddf6fe653943367a5d5 (diff) | |
download | glibc-0ed24bc67fe5ac9cc5e01d68c0959fcdfccc96aa.zip glibc-0ed24bc67fe5ac9cc5e01d68c0959fcdfccc96aa.tar.gz glibc-0ed24bc67fe5ac9cc5e01d68c0959fcdfccc96aa.tar.bz2 |
Update.
* sysdeps/arm/init-first.c: Likewise.
* sysdeps/generic/init-first.c: Likewise.
* sysdeps/i386/init-first.c: Likewise.
* sysdeps/sh/init-first.c: Likewise.
Diffstat (limited to 'sysdeps/mach/hurd/mips/init-first.c')
-rw-r--r-- | sysdeps/mach/hurd/mips/init-first.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/mips/init-first.c b/sysdeps/mach/hurd/mips/init-first.c index b81fe3c..d0ab593 100644 --- a/sysdeps/mach/hurd/mips/init-first.c +++ b/sysdeps/mach/hurd/mips/init-first.c @@ -1,5 +1,5 @@ /* Initialization code run first thing by the ELF startup code. For Mips/Hurd. - Copyright (C) 1996, 1997, 1998, 2000 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 2000, 2001 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 @@ -27,7 +27,9 @@ extern void __mach_init (void); extern void __libc_init (int, char **, char **); +#ifdef USE_NONOPTION_FLAGS extern void __getopt_clean_environment (char **); +#endif extern void __libc_global_ctors (void); unsigned int __hurd_threadvar_max; @@ -106,8 +108,10 @@ init1 (int argc, char *arg0, ...) __libc_init (argc, argv, __environ); +#ifdef USE_NONOPTION_FLAGS /* This is a hack to make the special getopt in GNU libc working. */ __getopt_clean_environment (envp); +#endif #ifdef SHARED __libc_global_ctors (); |