]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blobdiff - lib/ext2fs/fileio.c
Clean up sparse warnings
[thirdparty/e2fsprogs.git] / lib / ext2fs / fileio.c
index 77328042fe431fd26eac609e0c5e6c99aaba2940..5a39c321aa788e080b2dfacc92e54c9aba309f29 100644 (file)
@@ -395,7 +395,8 @@ ext2_off_t ext2fs_file_get_size(ext2_file_t file)
 }
 
 /* Zero the parts of the last block that are past EOF. */
-errcode_t ext2fs_file_zero_past_offset(ext2_file_t file, ext2_off64_t offset)
+static errcode_t ext2fs_file_zero_past_offset(ext2_file_t file,
+                                             ext2_off64_t offset)
 {
        ext2_filsys fs = file->fs;
        char *b = NULL;