aboutsummaryrefslogtreecommitdiff
path: root/dirent
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 /dirent
parent784d802ea2b7f156f59e86b77d4f17ea9effaaba (diff)
downloadglibc-de149cdbaf9327b5dbb85b1a473fce5c6ec7951f.zip
glibc-de149cdbaf9327b5dbb85b1a473fce5c6ec7951f.tar.gz
glibc-de149cdbaf9327b5dbb85b1a473fce5c6ec7951f.tar.bz2
Make local functions static.
Diffstat (limited to 'dirent')
-rw-r--r--dirent/list.c4
-rw-r--r--dirent/opendir-tst1.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/dirent/list.c b/dirent/list.c
index 6ce22c6..ae80def 100644
--- a/dirent/list.c
+++ b/dirent/list.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1993, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1993, 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 @@
#include <dirent.h>
-int
+static int
test (const char *name)
{
DIR *dirp;
diff --git a/dirent/opendir-tst1.c b/dirent/opendir-tst1.c
index 4ecd5ae..37f876c 100644
--- a/dirent/opendir-tst1.c
+++ b/dirent/opendir-tst1.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2000 Free Software Foundation, Inc.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
The GNU C Library is free software; you can redistribute it and/or
@@ -84,7 +84,7 @@ do_test (int argc, char *argv[])
}
-void
+static void
do_cleanup (void)
{
remove (tmpname);