aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/init-first.c4
-rw-r--r--sysdeps/generic/sbrk.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/sysdeps/generic/init-first.c b/sysdeps/generic/init-first.c
index 5ae1e157f7..61e974fdf6 100644
--- a/sysdeps/generic/init-first.c
+++ b/sysdeps/generic/init-first.c
@@ -1,5 +1,5 @@
/* Initialization code run first thing by the ELF startup code. Stub version.
- Copyright (C) 1995, 1997, 1998, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1997, 1998, 2001, 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
@@ -20,7 +20,7 @@
#include <unistd.h>
#include <sys/types.h>
-int __libc_multiple_libcs = 1;
+int __libc_multiple_libcs attribute_hidden = 1;
extern void __libc_init (int, char **, char **);
#ifdef USE_NONOPTION_FLAGS
diff --git a/sysdeps/generic/sbrk.c b/sysdeps/generic/sbrk.c
index 7e19f1df1a..3e9ad54333 100644
--- a/sysdeps/generic/sbrk.c
+++ b/sysdeps/generic/sbrk.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1995,1996,1997,2000,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
@@ -23,7 +23,8 @@
extern void *__curbrk;
extern int __brk (void *addr);
-extern int __libc_multiple_libcs; /* Defined in init-first.c. */
+/* Defined in init-first.c. */
+extern int __libc_multiple_libcs attribute_hidden;
/* Extend the process's data space by INCREMENT.
If INCREMENT is negative, shrink data space by - INCREMENT.