2006-01-10 Thomas Schwinge <tschwinge@gnu.org>

* hurd/sigunwind.c: Include <jmpbuf-unwind.h> instead of <setjmp.h>.
	* sysdeps/mach/hurd/jmp-unwind.c: Likewise.
This commit is contained in:
Roland McGrath 2006-01-10 19:09:01 +00:00
parent debf73246a
commit e9915a666d
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
/* longjmp cleanup function for unwinding past signal handlers.
Copyright (C) 1995, 1996, 1997, 1998, 2005 Free Software Foundation, Inc.
Copyright (C) 1995,1996,1997,1998,2005,2006 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
@ -19,7 +19,7 @@
#include <hurd.h>
#include <thread_state.h>
#include <setjmp.h>
#include <jmpbuf-unwind.h>
#include <assert.h>
#include <stdint.h>

View file

@ -1,5 +1,5 @@
/* _longjmp_unwind -- Clean up stack frames unwound by longjmp. Hurd version.
Copyright (C) 1995, 1996, 2005 Free Software Foundation, Inc.
Copyright (C) 1995,1996,2005,2006 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
@ -17,7 +17,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
#include <setjmp.h>
#include <jmpbuf-unwind.h>
#include <hurd/userlink.h>
#include <hurd/signal.h>
#include <hurd/sigpreempt.h>
@ -26,7 +26,7 @@
#ifndef _JMPBUF_UNWINDS
#error "<bits/setjmp.h> fails to define _JMPBUF_UNWINDS"
#error "<jmpbuf-unwind.h> fails to define _JMPBUF_UNWINDS"
#endif
static inline uintptr_t