aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-03-12 21:37:08 +0000
committerUlrich Drepper <drepper@redhat.com>2002-03-12 21:37:08 +0000
commit48e6095f0e7dcc0827d6c1ccb1b5bf461ae323b7 (patch)
tree7246f590b8815866450dea750fcad6da22919f2b /sysdeps
parentb5f72d715efd5715986fdce112be4bf59ca4de2f (diff)
downloadglibc-48e6095f0e7dcc0827d6c1ccb1b5bf461ae323b7.tar
glibc-48e6095f0e7dcc0827d6c1ccb1b5bf461ae323b7.tar.gz
glibc-48e6095f0e7dcc0827d6c1ccb1b5bf461ae323b7.tar.bz2
glibc-48e6095f0e7dcc0827d6c1ccb1b5bf461ae323b7.zip
Define __libc_argc and __libc_argv as hidden.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/mips/init-first.c6
-rw-r--r--sysdeps/unix/sysv/aix/init-first.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/mach/hurd/mips/init-first.c b/sysdeps/mach/hurd/mips/init-first.c
index 07b8e9e38c..dbcad4b481 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 2a60a927fc..7b4773b633 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