summaryrefslogtreecommitdiff
path: root/bits/libc-lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'bits/libc-lock.h')
-rw-r--r--bits/libc-lock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bits/libc-lock.h b/bits/libc-lock.h
index 9a99d51bfd..d87bd9b03a 100644
--- a/bits/libc-lock.h
+++ b/bits/libc-lock.h
@@ -117,6 +117,8 @@
if ((DOIT) && __save_FCT != 0) \
(*__save_FCT)(__save_ARG); \
+#define __libc_cleanup_push(fct, arg) __libc_cleanup_region_start (1, fct, arg)
+#define __libc_cleanup_pop(execute) __libc_cleanup_end (execute)
/* We need portable names for some of the functions. */
#define __libc_mutex_unlock