From: Andreas Jaeger Date: Tue, 21 Nov 2000 13:27:53 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_2_1~307 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=307ea00a0e88f51308737746723d7c3985a314d6;p=glibc.git Update. NORETURN, fix parameter list. --- diff --git a/ChangeLog b/ChangeLog index cd4f7ec299..5b356417a6 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 896e6aa7c8..c4287b4317 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;