From ca517e8b320c7a31c3a147fb1212ddb33cabd919 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 22 Jun 2017 13:37:40 +0200 Subject: Eliminate warnings about missing prototypes This patch eliminates warnings generated by the -Wmissing-prototypes option. With this flag set, we are now forced to have prototypes for all global, exported functions, that have to be made visible to the definitions and we are forced to mark all local functions as static. Signed-off-by: David Oberhollenzer --- tests/fs-tests/stress/atoms/rndwrite00.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/fs-tests/stress/atoms/rndwrite00.c') diff --git a/tests/fs-tests/stress/atoms/rndwrite00.c b/tests/fs-tests/stress/atoms/rndwrite00.c index 3c38e43..7dba6be 100644 --- a/tests/fs-tests/stress/atoms/rndwrite00.c +++ b/tests/fs-tests/stress/atoms/rndwrite00.c @@ -52,7 +52,7 @@ static void check_file(int fd, char *data, size_t length) CHECK(n == length); } -void rndwrite00(void) +static void rndwrite00(void) { int fd; pid_t pid; @@ -143,14 +143,14 @@ void rndwrite00(void) /* Title of this test */ -const char *rndwrite00_get_title(void) +static const char *rndwrite00_get_title(void) { return "Randomly write a large test file"; } /* Description of this test */ -const char *rndwrite00_get_description(void) +static const char *rndwrite00_get_description(void) { return "Create a file named rndwrite00_test_file_pid, where " \ -- cgit v1.2.3