]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* 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 dce7bae5699a67f9b8a289b0a7986f867cd9bf7d..009a9d65df4903a7394368799382be0ab3d92e39 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 fe8093e7b26a75abbff705b7cf81f69e2a7943f4..33f48fa4a3ac0c00425d42362f38ab6b5e991629 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 394e224e1e5a175f4dc34bc38b87694c4ba0a70d..c7cfbbb076073190289b9f98d76ca6f57ab30117 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 ed3e23e68d681b7c8d9368c463403b010f03f094..1f4cd482c62d0a6344f2f5015756242fb7dda17a 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