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. --- posix/runtests.c | 2 +- posix/tst-chmod.c | 2 +- posix/tst-getaddrinfo.c | 2 +- posix/wordexp-test.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'posix') 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 #include -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; -- cgit 1.4.1