From: Roland McGrath Date: Sun, 4 Dec 1994 18:56:14 +0000 (+0000) Subject: (__longjmp): Take arg of type __jmp_buf, not jmp_buf. X-Git-Tag: glibc-2.16-ports-before-merge~4013 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=60074b22a2931c8ef5e25f56b0f250744ee65a49;p=thirdparty%2Fglibc.git (__longjmp): Take arg of type __jmp_buf, not jmp_buf. --- diff --git a/sysdeps/m68k/__longjmp.c b/sysdeps/m68k/__longjmp.c index 3133e70bb36..787281708c5 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. */