aboutsummaryrefslogtreecommitdiff
path: root/setjmp
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-27 20:26:07 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-27 20:26:07 +0000
commitde149cdbaf9327b5dbb85b1a473fce5c6ec7951f (patch)
treecc14a903a8e159a33e86e8f15b309abd7fc3e65b /setjmp
parent784d802ea2b7f156f59e86b77d4f17ea9effaaba (diff)
downloadglibc-de149cdbaf9327b5dbb85b1a473fce5c6ec7951f.tar
glibc-de149cdbaf9327b5dbb85b1a473fce5c6ec7951f.tar.gz
glibc-de149cdbaf9327b5dbb85b1a473fce5c6ec7951f.tar.bz2
glibc-de149cdbaf9327b5dbb85b1a473fce5c6ec7951f.zip
Make local functions static.
Diffstat (limited to 'setjmp')
-rw-r--r--setjmp/jmpbug.c4
-rw-r--r--setjmp/tst-setjmp.c4
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);