From 38226fe3a6962d4e9f72d420df1d0338b6513a32 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 31 Aug 2003 20:43:59 +0000 Subject: Update. 2003-08-08 H.J. Lu * sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove __syscall_ functions. --- nptl/sysdeps/pthread/bits/stdio-lock.h | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'nptl/sysdeps/pthread/bits') diff --git a/nptl/sysdeps/pthread/bits/stdio-lock.h b/nptl/sysdeps/pthread/bits/stdio-lock.h index 3bc3c06314..b084e91e40 100644 --- a/nptl/sysdeps/pthread/bits/stdio-lock.h +++ b/nptl/sysdeps/pthread/bits/stdio-lock.h @@ -90,15 +90,10 @@ typedef struct { int lock; int cnt; void *owner; } _IO_lock_t; # ifdef __EXCEPTIONS # define _IO_acquire_lock(_fp) \ do { \ - auto inline __attribute__((always_inline)) void \ - _IO_acquire_lock_fct (int *p __attribute__ ((__unused__))) \ - { \ - if (((_fp)->_flags & _IO_USER_LOCK) == 0) \ - _IO_funlockfile (_fp); \ - } \ - int _IO_acquire_lock_dummy \ - __attribute__ ((cleanup (_IO_acquire_lock_fct))); \ - _IO_flockfile (_fp) + _IO_FILE *_IO_acquire_lock_file \ + __attribute__((cleanup (_IO_acquire_lock_fct))) \ + = (_fp); \ + _IO_flockfile (_IO_acquire_lock_file); # else # define _IO_acquire_lock(_fp) _IO_acquire_lock_needs_exceptions_enabled -- cgit v1.2.3