1
0
mirror of https://github.com/bobranten/Ext4Fsd.git synced 2025-10-29 13:18:30 -05:00

avoid compiler warnings

This commit is contained in:
Bo Branten
2024-09-01 21:05:32 +02:00
parent c5e39e6401
commit 063a3fc126
2 changed files with 3 additions and 2 deletions

View File

@@ -979,7 +979,6 @@ struct move_extent {
<= (EXT4_GOOD_OLD_INODE_SIZE + \
(einode)->i_extra_isize)) \
#endif
/*
* We use an encoding that preserves the times for extra epoch "00":
*
@@ -1027,7 +1026,7 @@ static inline void ext4_decode_extra_time(struct timespec64 *time,
}
time->tv_nsec = (le32_to_cpu(extra) & EXT4_NSEC_MASK) >> EXT4_EPOCH_BITS;
}
#if 0
#define EXT4_INODE_SET_XTIME(xtime, inode, raw_inode) \
do { \
(raw_inode)->xtime = cpu_to_le32((inode)->xtime.tv_sec); \

View File

@@ -45,9 +45,11 @@
#ifdef __cplusplus
extern "C" {
#endif
#if 0
unsigned short __cdecl _byteswap_ushort(unsigned short);
unsigned long __cdecl _byteswap_ulong (unsigned long);
unsigned __int64 __cdecl _byteswap_uint64(unsigned __int64);
#endif
#ifdef __cplusplus
}
#endif