* libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning.
authorRoland McGrath <roland@gnu.org>
Wed, 16 Apr 2003 03:12:34 +0000 (03:12 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 16 Apr 2003 03:12:34 +0000 (03:12 +0000)
* sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for
INTUSE(__register_frame_info_bases).

ChangeLog
libio/fileops.c
nptl/ChangeLog
nptl/forward.c

index dce7bae..009a9d6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-04-15  Roland McGrath  <roland@redhat.com>
+
+       * libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning.
+
+       * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for
+       INTUSE(__register_frame_info_bases).
+
 2003-04-15  Ulrich Drepper  <drepper@redhat.com>
 
        * elf/elf.h: Define AT_SYSINFO_EH_FRAME.
index fe8093e..33f48fa 100644 (file)
@@ -63,6 +63,7 @@ extern int errno;
 # define read(FD, Buf, NBytes) __read (FD, Buf, NBytes)
 # define write(FD, Buf, NBytes) __write (FD, Buf, NBytes)
 # define _IO_do_write _IO_new_do_write /* For macro uses.  */
+# define _IO_file_close_it _IO_new_file_close_it
 #else
 # define _IO_new_do_write _IO_do_write
 # define _IO_new_file_attach _IO_file_attach
@@ -1545,6 +1546,7 @@ _IO_file_xsgetn_maybe_mmap (fp, data, n)
 
 #ifdef _LIBC
 # undef _IO_do_write
+# undef _IO_file_close_it
 versioned_symbol (libc, _IO_new_do_write, _IO_do_write, GLIBC_2_1);
 versioned_symbol (libc, _IO_new_file_attach, _IO_file_attach, GLIBC_2_1);
 versioned_symbol (libc, _IO_new_file_close_it, _IO_file_close_it, GLIBC_2_1);
index 394e224..c7cfbbb 100644 (file)
@@ -1,3 +1,7 @@
+2003-04-15  Roland McGrath  <roland@redhat.com>
+
+       * forward.c (__pthread_unwind): Tweak to avoid warning.
+
 2003-04-15  Ulrich Drepper  <drepper@redhat.com>
 
        * pthreadP.h: Move THREAD_ATOMIC_* replacements to the top.
index ed3e23e..1f4cd48 100644 (file)
@@ -173,6 +173,7 @@ FORWARD (pthread_setcancelstate, (int state, int *oldstate), (state, oldstate),
 
 FORWARD (pthread_setcanceltype, (int type, int *oldtype), (type, oldtype), 0)
 
+#define return /* value is void */
 FORWARD2(__pthread_unwind,
         void attribute_hidden __attribute ((noreturn)) __cleanup_fct_attribute,
         (__pthread_unwind_buf_t *buf), (buf), {
@@ -180,3 +181,4 @@ FORWARD2(__pthread_unwind,
                       INTERNAL_SYSCALL_DECL (err);
                       INTERNAL_SYSCALL (kill, err, 1, SIGKILL);
                     })
+#undef return