From bff8fb395b1f2b84a47f8245dd43f4945cab8e77 Mon Sep 17 00:00:00 2001 From: Matthew Macy Date: Tue, 3 Dec 2019 09:51:44 -0800 Subject: [PATCH] Mark write_record static The write_record() function is private and should be marked as such. Reviewed-by: Allan Jude Reviewed-by: Brian Behlendorf Signed-off-by: Matt Macy Closes #9665 --- module/zfs/dmu_diff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/zfs/dmu_diff.c b/module/zfs/dmu_diff.c index e08cf21ab..a573a2e1b 100644 --- a/module/zfs/dmu_diff.c +++ b/module/zfs/dmu_diff.c @@ -50,7 +50,7 @@ typedef struct dmu_diffarg { dmu_diff_record_t da_ddr; } dmu_diffarg_t; -int +static int write_record(dmu_diffarg_t *da) { zfs_file_t *fp;