From 230491f02c51bcc0e195491703e3d48ca8778743 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 4 Aug 2002 23:32:14 +0000 Subject: Update. 2002-08-04 Ulrich Drepper * stdio-common/psignal.c: Declare _sys_siglist_internal. Use USEINT to access _sys_siglist. * string/strsignal.c: Likewise. * sysdeps/generic/siglist.c: Add _sys_siglist_internal alias. * sysdeps/gnu/siglist.c: Likewise. * sysdeps/unix/siglist.c: Likewise. * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. * libio/fileops.c: Add missing INTUSEs for _IO_file_jumps. * libio/wfileops.c: Add missing INTUSE for _IO_file_close. * intl/dcigettext.c: Define _nl_default_dirname_internal as hidden alias and use it. * intl/bindtextdom.c: Use _nl_default_dirname_internal. * include/netinet/in.h: Add declaration of in6addr_loopback_internal. * inet/in6_addr.c: Add INTVARDEF for in6addr_loopback. * sysdeps/posix/getaddrinfo.c: Use INTUSE for in6addr_loopback access. * include/time.h: Add libc_hidden_proto for __gmtime_r. * time/gmtime.c (__gmtime_r): Add libc_hidden_def. * iconv/Versions: Replace __gconv_alias_db, __gconv_modules_db, and __gconv_cache with __gconv_get_alias_db, __gconv_get_modules_db, and __gconv_get_cache respectively. * iconv/gconv_cache.c (gconv_cache): Renamed for __gconv_cache and defined static. Change all users. (__gconv_get_cache): New function. * iconv/gconv_db.c (__gconv_get_modules_db): New function. (__gconv_get_alias_db): New function. * iconv/gconv_int.h (__gconv_alias_db): Declare as hidden. (__conv_modules_db): Likewise. Add prototypes for __gconv_get_cache, __gconv_get_modules_db, and __gconv_get_alias_db. * iconv/iconv_prog.c: Use the new functions instead of accessing the variables. * include/stdlib.h: Add prototype and libc_hidden_proto for __default_morecore. * sysdeps/generic/morecore.c: Include . * malloc/obstack.c: Remove fputs macro. * malloc/mtrace.c: Remove fopen macro. --- malloc/mtrace.c | 3 --- malloc/obstack.c | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'malloc') diff --git a/malloc/mtrace.c b/malloc/mtrace.c index 52347ea..d9960bd 100644 --- a/malloc/mtrace.c +++ b/malloc/mtrace.c @@ -36,11 +36,8 @@ #ifdef _LIBC # include -#endif -#ifdef USE_IN_LIBIO # include -# define fopen(f, n) _IO_fopen64 (f, n) # define setvbuf(s, b, f, l) INTUSE(_IO_setvbuf) (s, b, f, l) # define fwrite(buf, size, count, fp) _IO_fwrite (buf, size, count, fp) #endif diff --git a/malloc/obstack.c b/malloc/obstack.c index 63e4b80..5c5e8b0 100644 --- a/malloc/obstack.c +++ b/malloc/obstack.c @@ -475,9 +475,8 @@ _obstack_memory_used (h) # define _(Str) (Str) # endif # endif -# if defined _LIBC && defined USE_IN_LIBIO +# ifdef _LIBC # include -# define fputs(s, f) _IO_fputs (s, f) # endif # ifndef __attribute__ -- cgit v1.1