diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2017-06-22 13:37:40 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2017-06-28 10:27:31 +0200 |
commit | ca517e8b320c7a31c3a147fb1212ddb33cabd919 (patch) | |
tree | a26d535836a82ea241dc0389b061176ddfcd8329 /tests/fs-tests/stress/atoms/stress_3.c | |
parent | 3029b659e89caa79b6860c3bbe8cbc18b53af678 (diff) |
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 <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/fs-tests/stress/atoms/stress_3.c')
-rw-r--r-- | tests/fs-tests/stress/atoms/stress_3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/fs-tests/stress/atoms/stress_3.c b/tests/fs-tests/stress/atoms/stress_3.c index 99fb05d..0272d52 100644 --- a/tests/fs-tests/stress/atoms/stress_3.c +++ b/tests/fs-tests/stress/atoms/stress_3.c @@ -32,7 +32,7 @@ #define WRITE_BUFFER_SIZE 32768 -void stress_3(void) +static void stress_3(void) { int fd, i; pid_t pid; @@ -79,14 +79,14 @@ void stress_3(void) /* Title of this test */ -const char *stress_3_get_title(void) +static const char *stress_3_get_title(void) { return "Create a file with a large hole and fill it"; } /* Description of this test */ -const char *stress_3_get_description(void) +static const char *stress_3_get_description(void) { return "Create a file named stress_3_test_file_pid, " \ |