about summary refs log tree commit diff
diff options
context:
space:
mode:
-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;