The branch main has been updated by fsu: URL: https://cgit.FreeBSD.org/src/commit/?id=2a984c2b49822bb4a31aeb6a050d746aef73162f
commit 2a984c2b49822bb4a31aeb6a050d746aef73162f Author: Fedor Uporov <f...@freebsd.org> AuthorDate: 2021-05-08 03:42:20 +0000 Commit: Fedor Uporov <f...@freebsd.org> CommitDate: 2021-05-08 03:42:20 +0000 Make encode/decode extra time functions inline. Mentioned by: pfg MFC after: 2 weeks --- sys/fs/ext2fs/ext2_inode_cnv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/fs/ext2fs/ext2_inode_cnv.c b/sys/fs/ext2fs/ext2_inode_cnv.c index 5ca00f3be050..181ea3e04622 100644 --- a/sys/fs/ext2fs/ext2_inode_cnv.c +++ b/sys/fs/ext2fs/ext2_inode_cnv.c @@ -130,7 +130,7 @@ ext2_new_decode_dev(uint32_t dev) return (makedev(maj, min)); } -static void +static inline void ext2_decode_extra_time(ext_time_t *sec, int32_t *nsec, uint32_t extra) { if (extra & htole32(EXT3_EPOCH_MASK)) @@ -237,7 +237,7 @@ ext2_ei2i(struct ext2fs_dinode *ei, struct inode *ip) return (ext2_ei_csum_verify(ip, ei)); } -static uint32_t +static inline uint32_t ext2_encode_extra_time(int64_t sec, int32_t nsec) { uint32_t extra; _______________________________________________ dev-commits-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"