mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update.
2002-12-13 Ulrich Drepper <drepper@redhat.com> * misc/syslog.c (log_cleanup): Don't use parameter in __libc_lock_unlock call, use syslog_lock directly. Adjust callers to pass NULL instead of a pointer to syslog_lock.
This commit is contained in:
@ -24,9 +24,6 @@
|
||||
|
||||
static struct fork_handler pthread_child_handler;
|
||||
|
||||
/* Global variable signalled when locking is needed. */
|
||||
int __libc_locking_needed;
|
||||
|
||||
|
||||
void
|
||||
__libc_pthread_init (ptr, reclaim)
|
||||
@ -41,7 +38,4 @@ __libc_pthread_init (ptr, reclaim)
|
||||
|
||||
/* The fork handler needed by libpthread. */
|
||||
list_add_tail (&pthread_child_handler.list, &__fork_child_list);
|
||||
|
||||
/* Signal the internal locking code that locking is needed now. */
|
||||
__libc_locking_needed = 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user