diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-03-13 02:17:12 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-03-13 02:17:12 +0000 |
commit | 100351c3e1a858d32177f004e39a91d9d9a004ef (patch) | |
tree | 8766e6e71a3e8e70a282d2e71e2b2aee183faedd /include | |
parent | aa32f79837bb38f8cea9daa26fd5eb6091861442 (diff) | |
download | glibc-100351c3e1a858d32177f004e39a91d9d9a004ef.tar.gz glibc-100351c3e1a858d32177f004e39a91d9d9a004ef.tar.xz glibc-100351c3e1a858d32177f004e39a91d9d9a004ef.zip |
Update.
* stdio-common/itowa-digits.c (_itowa_lower_digits): Define as hidden. (_itowa_upper_digits): Likewise. * libio/stdio.c (_IO_stdin, _IO_stdout, _IO_stderr): Define as hidden. * libio/libio.h [_LIBC] (_IO_stdin, _IO_stdout, _IO_stderr): Declare as hidden. * libio/libioP.h: Declare _IO_file_jumps_mmap, _IO_wfile_jumps, _IO_wfile_jumps_mmap, _IO_proc_jumps, _IO_old_proc_jumps, _IO_str_jumps, _IO_wstr_jumps, _IO_file_jumps_internal, _IO_wfile_jumps_internal, and _IO_list_all_internal as hidden. * gmon/gmon.c (__bb_head): Define as hidden. * gmon/bb_exit_func.c (__bb_head): Declare as hidden. * argp/argp-parse.c (_argp_hang): Define as static. * include/libc-symbols.h (_INTVARDEF): Adjust for visibility handling in latest compilers. * inet/in6_addr.c (in6addr_any): Use INTVARDEF not INTDEF to define alias. * libio/fileops.c (_IO_file_jumps): Likewise. * libio/stdfiles.c (_IO_list_all): Likewise. * libio/wfileops.c (_IO_wfile_jumps): Likewise. * malloc/malloc.h: Move __libc_malloc_initialized declaration to include/malloc.h. * include/malloc.h: Add __libc_malloc_initialized declaration here. Mark variable hidden. * malloc/malloc.c: Include <malloc.h> not "malloc.h". * elf/dl-open.c (__libc_argc): Declare as hidden. (__libc_argv): Likewise. * sysdeps/generic/wordexp.c (__libc_argc): Declare as hidden. (__libc_argv): Likewise. * sysdeps/mach/hurd/i386/init-first.c: Define __libc_argc and __libc_argv as hidden. * sysdeps/mach/hurd/mips/init-first.c: Likewise. * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. * sysdeps/unix/sysv/aix/init-first.c: Likewise. * sysdeps/unix/sysv/linux/init-first.c: Likewise.
Diffstat (limited to 'include')
-rw-r--r-- | include/libc-symbols.h | 4 | ||||
-rw-r--r-- | include/malloc.h | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h index bc1c24033f..07badec802 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -363,8 +363,8 @@ # define INTVARDEF(name) \ _INTVARDEF(name, name##_internal) # define _INTVARDEF(name, aliasname) \ - extern __typeof (name) aliasname __attribute__ ((visibility ("hidden"))); \ - strong_alias (name, name##_internal) + extern __typeof (name) aliasname __attribute__ ((alias (#name), \ + visibility ("hidden"))); # define INTDEF2(name, newname) strong_alias (name, newname##_internal) #else # define INTUSE(name) name diff --git a/include/malloc.h b/include/malloc.h index 448e0a8c6b..eb2afb9330 100644 --- a/include/malloc.h +++ b/include/malloc.h @@ -1 +1,11 @@ +#ifndef _MALLOC_H #include <malloc/malloc.h> + + +/* In the GNU libc we rename the global variable + `__malloc_initialized' to `__libc_malloc_initialized'. */ +#define __malloc_initialized __libc_malloc_initialized +/* Nonzero if the malloc is already initialized. */ +extern int __malloc_initialized attribute_hidden; + +#endif |