summaryrefslogtreecommitdiffstats
path: root/module/zfs/vdev_queue.c
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-06-15 14:30:37 -0400
committerBrian Behlendorf <[email protected]>2020-06-18 12:20:38 -0700
commit65c7cc49bfcf49d38fc84552a17d7e8a3268e58e (patch)
tree4740b896f8b5fc114ae9a96c6581776799ffeb3a /module/zfs/vdev_queue.c
parent1fa5c7af3314b4c556bd86e3a49e3497a5ed72ed (diff)
Mark functions as static
Mark functions used only in the same translation unit as static. This only includes functions that do not have a prototype in a header file either. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Arvind Sankar <[email protected]> Closes #10470
Diffstat (limited to 'module/zfs/vdev_queue.c')
-rw-r--r--module/zfs/vdev_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/vdev_queue.c b/module/zfs/vdev_queue.c
index b61ba39d7..e31271dcb 100644
--- a/module/zfs/vdev_queue.c
+++ b/module/zfs/vdev_queue.c
@@ -212,7 +212,7 @@ int zfs_vdev_def_queue_depth = 32;
*/
int zfs_vdev_aggregate_trim = 0;
-int
+static int
vdev_queue_offset_compare(const void *x1, const void *x2)
{
const zio_t *z1 = (const zio_t *)x1;
@@ -244,7 +244,7 @@ vdev_queue_type_tree(vdev_queue_t *vq, zio_type_t t)
return (&vq->vq_trim_offset_tree);
}
-int
+static int
vdev_queue_timestamp_compare(const void *x1, const void *x2)
{
const zio_t *z1 = (const zio_t *)x1;