about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/setitimer.c
diff options
context:
space:
mode:
authorAgustina Arzille <avarzille@riseup.net>2018-03-18 17:27:00 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-18 17:27:00 +0100
commit542c20a171cbc8cb63155fa6344708d26e9c446b (patch)
tree0abb2c4b09254ca8d4af9e18d8f28dee4f01086d /sysdeps/mach/hurd/setitimer.c
parent9a37922ee049c2a12ba9d9457f7711ecd9813c88 (diff)
downloadglibc-542c20a171cbc8cb63155fa6344708d26e9c446b.tar.gz
glibc-542c20a171cbc8cb63155fa6344708d26e9c446b.tar.xz
glibc-542c20a171cbc8cb63155fa6344708d26e9c446b.zip
hurd: Rewrite __libc_cleanup_*
This makes it notably safe against 'return' and such, and used for
__libc_cleanup_push/pop.

	* sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
	(__libc_cleanup_fct): Define function.
	(__libc_cleanup_region_start, __libc_cleanup_region_end,
	__libc_cleanup_end): Rewrite implementation using
	__attribute__ ((__cleanup__)).
	(__libc_cleanup_push, __libc_cleanup_pop): New macros.
Diffstat (limited to 'sysdeps/mach/hurd/setitimer.c')
0 files changed, 0 insertions, 0 deletions