aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/zfs-tests/cmd/file_write/file_write.c2
-rw-r--r--tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c2
-rw-r--r--tests/zfs-tests/tests/functional/tmpfile/tmpfile_001_pos.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/zfs-tests/cmd/file_write/file_write.c b/tests/zfs-tests/cmd/file_write/file_write.c
index ec393be7f..45d296db4 100644
--- a/tests/zfs-tests/cmd/file_write/file_write.c
+++ b/tests/zfs-tests/cmd/file_write/file_write.c
@@ -46,7 +46,7 @@ static void usage(char *);
/*
* psudo-randomize the buffer
*/
-void randomize_buffer(int block_size) {
+static void randomize_buffer(int block_size) {
int i;
char rnd = rand() & 0xff;
for (i = 0; i < block_size; i++)
diff --git a/tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c b/tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c
index 00924dda9..9fee37357 100644
--- a/tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c
+++ b/tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c
@@ -918,7 +918,7 @@ enum zfs_ioc_ref {
* Canonical reference check of /dev/zfs ioctl numbers.
* These cannot change and new ioctl numbers must be appended.
*/
-boolean_t
+static boolean_t
validate_ioc_values(void)
{
boolean_t result = B_TRUE;
diff --git a/tests/zfs-tests/tests/functional/tmpfile/tmpfile_001_pos.c b/tests/zfs-tests/tests/functional/tmpfile/tmpfile_001_pos.c
index c2c02c5d4..b0c236081 100644
--- a/tests/zfs-tests/tests/functional/tmpfile/tmpfile_001_pos.c
+++ b/tests/zfs-tests/tests/functional/tmpfile/tmpfile_001_pos.c
@@ -28,7 +28,7 @@
#define BSZ 64
-void
+static void
fill_random(char *buf, int len)
{
int i;