From 60074b22a2931c8ef5e25f56b0f250744ee65a49 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 4 Dec 1994 18:56:14 +0000 Subject: [PATCH] (__longjmp): Take arg of type __jmp_buf, not jmp_buf. --- sysdeps/m68k/__longjmp.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/sysdeps/m68k/__longjmp.c b/sysdeps/m68k/__longjmp.c index 3133e70bb3..787281708c 100644 --- a/sysdeps/m68k/__longjmp.c +++ b/sysdeps/m68k/__longjmp.c @@ -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 #include #include -#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. */ -- 2.43.5