]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2005-04-05 Jakub Jelinek <jakub@redhat.com>
authorRoland McGrath <roland@gnu.org>
Mon, 18 Jul 2005 03:21:59 +0000 (03:21 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 18 Jul 2005 03:21:59 +0000 (03:21 +0000)
[BZ #1102]
* 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..3a51ab0dcccb02271befcb47186f18a8641983bd 100644 (file)
@@ -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 6662f4a5b14c06ec18a7cfee629842c75bf7f942..92e66f7c72dc29cc8069d982a18bdc332e244f20 100644 (file)
@@ -532,7 +532,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)