]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Mark write_record static
authorMatthew Macy <mmacy@freebsd.org>
Tue, 3 Dec 2019 17:51:44 +0000 (09:51 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 3 Dec 2019 17:51:44 +0000 (09:51 -0800)
The write_record() function is private and should be marked as such.

Reviewed-by: Allan Jude <allanjude@freebsd.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #9665

module/zfs/dmu_diff.c

index e08cf21abf00501d0e0fb8654a4e94633745f938..a573a2e1bd41dabbd3ced4c550f2812cb6422793 100644 (file)
@@ -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;