aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-11-21 13:27:53 +0000
committerAndreas Jaeger <aj@suse.de>2000-11-21 13:27:53 +0000
commit307ea00a0e88f51308737746723d7c3985a314d6 (patch)
tree0fb975dc68ca5a49fe1329c5292286c31dc25b71
parent0ab144089a9854778c64c92006e11d7d3bb0a557 (diff)
downloadglibc-307ea00a0e88f51308737746723d7c3985a314d6.tar
glibc-307ea00a0e88f51308737746723d7c3985a314d6.tar.gz
glibc-307ea00a0e88f51308737746723d7c3985a314d6.tar.bz2
glibc-307ea00a0e88f51308737746723d7c3985a314d6.zip
Update.
NORETURN, fix parameter list.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/generic/__longjmp.c6
2 files changed, 3 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index cd4f7ec299..5b356417a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
2000-11-21 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
- NORETURN.
+ NORETURN, fix parameter list.
* string/bug-strncat1.c (main): Fix typo.
Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
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;