Define __libc_argc and __libc_argv as hidden.

This commit is contained in:
Ulrich Drepper 2002-03-12 21:37:08 +00:00
parent b5f72d715e
commit 48e6095f0e
2 changed files with 5 additions and 5 deletions

View File

@ -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__));

View File

@ -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