(__longjmp): Take arg of type __jmp_buf, not jmp_buf.
This commit is contained in:
parent
5b743d860e
commit
60074b22a2
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991, 1992, 1993, 1994 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
|
||||
@ -16,19 +16,14 @@ License along with the GNU C Library; see the file COPYING.LIB. If
|
||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
||||
Cambridge, MA 02139, USA. */
|
||||
|
||||
#include <ansidecl.h>
|
||||
#include <setjmp.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef __GNUC__
|
||||
#error This file uses GNU C extensions; you must compile with GCC.
|
||||
#endif
|
||||
|
||||
/* Jump to the position specified by ENV, causing the
|
||||
setjmp call there to return VAL, or 1 if VAL is 0. */
|
||||
__NORETURN
|
||||
void
|
||||
DEFUN(__longjmp, (env, val), CONST jmp_buf env AND int val)
|
||||
__longjmp (__jmp_buf env, int val)
|
||||
{
|
||||
/* This restores the FP and SP that setjmp's caller had,
|
||||
and puts the return address into A0 and VAL into D0. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user