From 59055a0164ac5e7dfd690533d39fa9a941204a37 Mon Sep 17 00:00:00 2001 From: Matthew Macy Date: Thu, 31 Oct 2019 10:09:01 -0700 Subject: [PATCH] Include prototypes for vdev_initialize Address two prototype related warnings emitted by clang. Reviewed-by: Brian Behlendorf Reviewed-by: Igor Kozhukhov Signed-off-by: Matt Macy Closes #9535 --- module/zfs/vdev_initialize.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/zfs/vdev_initialize.c b/module/zfs/vdev_initialize.c index a27ab3c25..3e691c7f5 100644 --- a/module/zfs/vdev_initialize.c +++ b/module/zfs/vdev_initialize.c @@ -32,6 +32,7 @@ #include #include #include +#include /* * Value that is written to disk during initialization. @@ -424,7 +425,7 @@ vdev_initialize_load(vdev_t *vd) * Convert the logical range into a physical range and add it to our * avl tree. */ -void +static void vdev_initialize_range_add(void *arg, uint64_t start, uint64_t size) { vdev_t *vd = arg;