diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-04-05 21:26:42 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-04-05 21:26:42 +0000 |
commit | 0d49410af1bbc0366dbc56115cb877ff9b1d23f7 (patch) | |
tree | 968cb5afc16bd8c8ff1a3279e35a3d8bf7d44a36 /nptl | |
parent | d40d5d298ac6032e401795d686386543a92c3172 (diff) | |
download | glibc-0d49410af1bbc0366dbc56115cb877ff9b1d23f7.tar.gz glibc-0d49410af1bbc0366dbc56115cb877ff9b1d23f7.tar.xz glibc-0d49410af1bbc0366dbc56115cb877ff9b1d23f7.zip |
* sysdeps/pthread/pthread.h (__pthread_cleanup_routine): Use
__inline instead of inline. * sysdeps/pthread/bits/libc-lock.h (__libc_cleanup_routine): Likewise.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 6 | ||||
-rw-r--r-- | nptl/sysdeps/pthread/bits/libc-lock.h | 4 | ||||
-rw-r--r-- | nptl/sysdeps/pthread/pthread.h | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index b8ed53aff7..d07ee78064 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,9 @@ +2005-04-05 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/pthread/pthread.h (__pthread_cleanup_routine): Use + __inline instead of inline. + * sysdeps/pthread/bits/libc-lock.h (__libc_cleanup_routine): Likewise. + 2005-03-31 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Use diff --git a/nptl/sysdeps/pthread/bits/libc-lock.h b/nptl/sysdeps/pthread/bits/libc-lock.h index 8310092e7e..795caa7135 100644 --- a/nptl/sysdeps/pthread/bits/libc-lock.h +++ b/nptl/sysdeps/pthread/bits/libc-lock.h @@ -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) diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h index 57024e1e84..18ece7096f 100644 --- a/nptl/sysdeps/pthread/pthread.h +++ b/nptl/sysdeps/pthread/pthread.h @@ -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) |