From 20eb79709e3ecf0038a1e564adc7693b6b4f0beb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 1 Aug 2003 18:13:17 +0000 Subject: Update. 2003-08-01 Ulrich Drepper * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_push,__libc_cleanup_pop): Define even here. --- ChangeLog | 5 +++++ bits/libc-lock.h | 2 ++ sysdeps/generic/bits/libc-lock.h | 2 ++ 3 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6907063a04..ae8a9c9b49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-08-01 Ulrich Drepper + + * sysdeps/generic/bits/libc-lock.h + (__libc_cleanup_push,__libc_cleanup_pop): Define even here. + 2003-08-01 Roland McGrath * sysdeps/mach/hurd/getdents.c: Just use sysdeps/generic/getdents.c. 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 diff --git a/sysdeps/generic/bits/libc-lock.h b/sysdeps/generic/bits/libc-lock.h index 9a99d51bfd..d87bd9b03a 100644 --- a/sysdeps/generic/bits/libc-lock.h +++ b/sysdeps/generic/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 -- cgit 1.4.1