From 307ea00a0e88f51308737746723d7c3985a314d6 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 21 Nov 2000 13:27:53 +0000 Subject: Update. NORETURN, fix parameter list. --- ChangeLog | 2 +- sysdeps/generic/__longjmp.c | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index cd4f7ec..5b35641 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ 2000-11-21 Andreas Jaeger * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete - NORETURN. + NORETURN, fix parameter list. * string/bug-strncat1.c (main): Fix typo. Patch by Bernhard Kaindl . diff --git a/sysdeps/generic/__longjmp.c b/sysdeps/generic/__longjmp.c index 896e6aa..c4287b4 100644 --- a/sysdeps/generic/__longjmp.c +++ b/sysdeps/generic/__longjmp.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1994, 1995, 1996, 1997, 2000 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 @@ -23,9 +23,7 @@ /* Jump to the position specified by ENV, causing the setjmp call there to return VAL, or 1 if VAL is 0. */ void -__longjmp (env, val) - const __jmp_buf env; - int val; +__longjmp (__jmp_buf env, int val) { if (val == 0) val = 1; -- cgit v1.1