summaryrefslogtreecommitdiff
path: root/bits/libc-lock.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-30 06:32:48 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-30 06:32:48 +0000
commit66f8fa9bec0c6f0e62ccaad22f8ddd36267a5284 (patch)
tree46f44a7aa841d5385c7104b4261610ddc28086e5 /bits/libc-lock.h
parent53308042259bb73ce10aada138dc6bd26dd9a9c2 (diff)
downloadglibc-66f8fa9bec0c6f0e62ccaad22f8ddd36267a5284.tar.gz
Update.
* malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize if no threads are used. * libio/iofwrite.c: Add weak alias for _unlocked function if not _IO_MTSAFE_IO. * libio/iofread.c: Likewise. * libio/iofgets.c: Likewise. * libio/iofputs.c: Likewise. * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New definition.
Diffstat (limited to 'bits/libc-lock.h')
-rw-r--r--bits/libc-lock.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/bits/libc-lock.h b/bits/libc-lock.h
index c24dcd047a..84f9cd4653 100644
--- a/bits/libc-lock.h
+++ b/bits/libc-lock.h
@@ -1,5 +1,5 @@
/* libc-internal interface for mutex locks. Stub version.
- Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1999 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
@@ -90,6 +90,9 @@
/* End critical region with cleanup. */
#define __libc_cleanup_region_end(DOIT)
+/* Sometimes we have to exit the block in the middle. */
+#define __libc_cleanup_end(DOIT)
+
/* We need portable names for some of the functions. */
#define __libc_mutex_unlock