summary refs log tree commit diff
path: root/posix
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 /posix
parent784d802ea2b7f156f59e86b77d4f17ea9effaaba (diff)
downloadglibc-de149cdbaf9327b5dbb85b1a473fce5c6ec7951f.tar.gz
glibc-de149cdbaf9327b5dbb85b1a473fce5c6ec7951f.tar.xz
glibc-de149cdbaf9327b5dbb85b1a473fce5c6ec7951f.zip
Make local functions static.
Diffstat (limited to 'posix')
-rw-r--r--posix/runtests.c2
-rw-r--r--posix/tst-chmod.c2
-rw-r--r--posix/tst-getaddrinfo.c2
-rw-r--r--posix/wordexp-test.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/posix/runtests.c b/posix/runtests.c
index 1e91b11e68..2a5ef6c820 100644
--- a/posix/runtests.c
+++ b/posix/runtests.c
@@ -48,7 +48,7 @@ static const struct a_test the_tests[] =
 
 
 
-int
+static int
 run_a_test (int id, const struct a_test * t)
 {
   static const char * last_pattern = 0;
diff --git a/posix/tst-chmod.c b/posix/tst-chmod.c
index 70f4de0776..7d26655776 100644
--- a/posix/tst-chmod.c
+++ b/posix/tst-chmod.c
@@ -36,7 +36,7 @@
     goto fail;								      \
   } while (0)
 
-int
+static int
 do_test (int argc, char *argv[])
 {
   const char *builddir;
diff --git a/posix/tst-getaddrinfo.c b/posix/tst-getaddrinfo.c
index a37a8d62d9..84929f57e4 100644
--- a/posix/tst-getaddrinfo.c
+++ b/posix/tst-getaddrinfo.c
@@ -23,7 +23,7 @@
 #include <netinet/in.h>
 #include <netdb.h>
 
-int
+static int
 do_test (void)
 {
   const int family[3] = { AF_INET, AF_INET6, AF_UNIX };
diff --git a/posix/wordexp-test.c b/posix/wordexp-test.c
index 79e094c3dc..35a9725a4c 100644
--- a/posix/wordexp-test.c
+++ b/posix/wordexp-test.c
@@ -208,7 +208,7 @@ struct test_case_struct
 static int testit (struct test_case_struct *tc);
 static int tests;
 
-void
+static void
 command_line_test (const char *words)
 {
   wordexp_t we;