about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-08-31 20:43:59 +0000
committerUlrich Drepper <drepper@redhat.com>2003-08-31 20:43:59 +0000
commit38226fe3a6962d4e9f72d420df1d0338b6513a32 (patch)
treef869a06ea4f2bee5df96fe732a8812e36e671a80 /nptl
parent3d7ec3ad7571c11871d0b8b7426730831ac53d1a (diff)
downloadglibc-38226fe3a6962d4e9f72d420df1d0338b6513a32.tar.gz
glibc-38226fe3a6962d4e9f72d420df1d0338b6513a32.tar.xz
glibc-38226fe3a6962d4e9f72d420df1d0338b6513a32.zip
Update.
2003-08-08  H.J. Lu  <hongjiu.lu@intel.com>

	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove __syscall_
	functions.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/sysdeps/pthread/bits/stdio-lock.h13
1 files changed, 4 insertions, 9 deletions
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