Skip to content

Commit

Permalink
Include prototypes for vdev_initialize
Browse files Browse the repository at this point in the history
Address two prototype related warnings emitted by clang.

Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Igor Kozhukhov <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Closes openzfs#9535
  • Loading branch information
mattmacy authored and behlendorf committed Oct 31, 2019
1 parent 2a3aa5a commit 59055a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion module/zfs/vdev_initialize.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <sys/dsl_synctask.h>
#include <sys/zap.h>
#include <sys/dmu_tx.h>
#include <sys/vdev_initialize.h>

/*
* Value that is written to disk during initialization.
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 59055a0

Please sign in to comment.