]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Make setter functions inline
authorChristos Zoulas <christos@zoulas.com>
Mon, 29 Mar 2021 21:14:01 +0000 (17:14 -0400)
committerChristos Zoulas <christos@zoulas.com>
Mon, 29 Mar 2021 21:14:01 +0000 (17:14 -0400)
libarchive/archive_read_disk_posix.c

index 406b1df720c283410662a5c563f34c0a7c291719..772e203bb1b5a26d1aab31d52af3b7e1a9548d39 100644 (file)
@@ -1523,7 +1523,7 @@ get_xfer_size(struct tree *t, int fd, const char *path)
 #endif
 
 #if defined(HAVE_STATVFS)
-static void
+static inline void
 set_statvfs_transfer_size(struct filesystem *fs, const struct statvfs *sfs)
 {
        fs->xfer_align = sfs->f_frsize > 0 ? (long)sfs->f_frsize : -1;
@@ -1539,7 +1539,7 @@ set_statvfs_transfer_size(struct filesystem *fs, const struct statvfs *sfs)
 #endif
 
 #if defined(HAVE_STATFS)
-static void
+static inline void
 set_statfs_transfer_size(struct filesystem *fs, const struct statfs *sfs)
 {
        fs->xfer_align = sfs->f_bsize > 0 ? (long)sfs->f_bsize : -1;