]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2005-04-05 Jakub Jelinek <jakub@redhat.com>
authorRoland McGrath <roland@gnu.org>
Tue, 5 Apr 2005 21:33:41 +0000 (21:33 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 5 Apr 2005 21:33:41 +0000 (21:33 +0000)
* sysdeps/pthread/pthread.h (__pthread_cleanup_routine): Use
__inline instead of inline.
* sysdeps/pthread/bits/libc-lock.h (__libc_cleanup_routine): Likewise.

nptl/sysdeps/pthread/bits/libc-lock.h
nptl/sysdeps/pthread/pthread.h

index 8310092e7ecd8c8c01b5e3a270f75ed0ff17c312..795caa713565422c0aa51cdb651a5a0bc0e7da88 100644 (file)
@@ -1,5 +1,5 @@
 /* libc-internal interface for mutex locks.  NPTL version.
-   Copyright (C) 1996-2001, 2002, 2003 Free Software Foundation, Inc.
+   Copyright (C) 1996-2001, 2002, 2003, 2005 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
@@ -408,7 +408,7 @@ extern void _pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *buffer
 
 
 /* Normal cleanup handling, based on C cleanup attribute.  */
-extern inline void
+extern __inline void
 __libc_cleanup_routine (struct __pthread_cleanup_frame *f)
 {
   if (f->__do_it)
index 57024e1e845ce23268907c4d302d128dcab8af73..18ece7096f67379da23d3814e45951eb5792acc2 100644 (file)
@@ -527,7 +527,7 @@ class __pthread_cleanup_class
    function the compiler is free to decide inlining the change when
    needed or fall back on the copy which must exist somewhere
    else.  */
-extern inline void
+extern __inline void
 __pthread_cleanup_routine (struct __pthread_cleanup_frame *__frame)
 {
   if (__frame->__do_it)