diff options
Diffstat (limited to 'setjmp')
-rw-r--r-- | setjmp/jmpbug.c | 4 | ||||
-rw-r--r-- | setjmp/tst-setjmp.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/setjmp/jmpbug.c b/setjmp/jmpbug.c index 0dbf7f9231..125977b2f7 100644 --- a/setjmp/jmpbug.c +++ b/setjmp/jmpbug.c @@ -4,13 +4,13 @@ #include <setjmp.h> #include <alloca.h> -void +static void sub5 (jmp_buf buf) { longjmp (buf, 1); } -void +static void test (int x) { jmp_buf buf; diff --git a/setjmp/tst-setjmp.c b/setjmp/tst-setjmp.c index 3eb1516830..90dac0585c 100644 --- a/setjmp/tst-setjmp.c +++ b/setjmp/tst-setjmp.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1997, 1998, 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,7 +23,7 @@ static jmp_buf env; static int last_value = -1, lose = 0; -void +static void jump (int val) { longjmp (env, val); |