diff options
Diffstat (limited to 'linuxthreads/sysdeps/pthread/bits')
-rw-r--r-- | linuxthreads/sysdeps/pthread/bits/stdio-lock.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/pthread/bits/stdio-lock.h b/linuxthreads/sysdeps/pthread/bits/stdio-lock.h index 23ebf407f9..edc69f6cfc 100644 --- a/linuxthreads/sysdeps/pthread/bits/stdio-lock.h +++ b/linuxthreads/sysdeps/pthread/bits/stdio-lock.h @@ -1,5 +1,5 @@ /* Thread package specific definitions of stream lock type. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998 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 @@ -33,3 +33,7 @@ typedef pthread_mutex_t _IO_lock_t; __libc_lock_init_recursive (_name) #define _IO_lock_fini(_name) \ __libc_lock_fini_recursive (_name) +#define _IO_lock_lock(_name) \ + __libc_lock_lock (_name) +#define _IO_lock_unlock(_name) \ + __libc_lock_unlock (_name) |