From ca0f9b74733e74bcb17fe305ce9c484cd42d83c3 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 803d97c29..9958a2958 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. @@ -415,7 +416,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;