From de149cdbaf9327b5dbb85b1a473fce5c6ec7951f Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 27 Dec 2000 20:26:07 +0000 Subject: Make local functions static. --- setjmp/jmpbug.c | 4 ++-- setjmp/tst-setjmp.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'setjmp') 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 #include -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); -- cgit 1.4.1