From: Ulrich Drepper Date: Tue, 12 Mar 2002 21:37:08 +0000 (+0000) Subject: Define __libc_argc and __libc_argv as hidden. X-Git-Tag: upstream/2.30~10627^2~1733 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=48e6095f0e7dcc0827d6c1ccb1b5bf461ae323b7;p=external%2Fglibc.git Define __libc_argc and __libc_argv as hidden. --- diff --git a/sysdeps/mach/hurd/mips/init-first.c b/sysdeps/mach/hurd/mips/init-first.c index 07b8e9e..dbcad4b 100644 --- a/sysdeps/mach/hurd/mips/init-first.c +++ b/sysdeps/mach/hurd/mips/init-first.c @@ -31,7 +31,7 @@ extern void __init_misc (int, char **, char **); #ifdef USE_NONOPTION_FLAGS extern void __getopt_clean_environment (char **); #endif -#ifndef SHARED +#ifndef SHARED extern void _dl_non_dynamic_init (void) internal_function; #endif extern void __libc_global_ctors (void); @@ -42,8 +42,8 @@ unsigned long int __hurd_threadvar_stack_mask; int __libc_multiple_libcs = 1; -int __libc_argc; -char **__libc_argv; +int __libc_argc attribute_hidden; +char **__libc_argv attribute_hidden; void *(*_cthread_init_routine) (void); /* Returns new SP to use. */ void (*_cthread_exit_routine) (int status) __attribute__ ((__noreturn__)); diff --git a/sysdeps/unix/sysv/aix/init-first.c b/sysdeps/unix/sysv/aix/init-first.c index 2a60a92..7b4773b 100644 --- a/sysdeps/unix/sysv/aix/init-first.c +++ b/sysdeps/unix/sysv/aix/init-first.c @@ -46,8 +46,8 @@ int __libc_multiple_libcs = 1; /* Remember the command line argument and enviroment contents for later calls of initializers for dynamic libraries. */ -int __libc_argc; -char **__libc_argv; +int __libc_argc attribute_hidden; +char **__libc_argv attribute_hidden; static void