mirror of
https://github.com/bobranten/Ext4Fsd.git
synced 2025-10-30 05:18:31 -05:00
avoid compiler warnings
This commit is contained in:
@@ -979,7 +979,6 @@ struct move_extent {
|
|||||||
<= (EXT4_GOOD_OLD_INODE_SIZE + \
|
<= (EXT4_GOOD_OLD_INODE_SIZE + \
|
||||||
(einode)->i_extra_isize)) \
|
(einode)->i_extra_isize)) \
|
||||||
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* We use an encoding that preserves the times for extra epoch "00":
|
* 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;
|
time->tv_nsec = (le32_to_cpu(extra) & EXT4_NSEC_MASK) >> EXT4_EPOCH_BITS;
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
#define EXT4_INODE_SET_XTIME(xtime, inode, raw_inode) \
|
#define EXT4_INODE_SET_XTIME(xtime, inode, raw_inode) \
|
||||||
do { \
|
do { \
|
||||||
(raw_inode)->xtime = cpu_to_le32((inode)->xtime.tv_sec); \
|
(raw_inode)->xtime = cpu_to_le32((inode)->xtime.tv_sec); \
|
||||||
|
|||||||
@@ -45,9 +45,11 @@
|
|||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
#if 0
|
||||||
unsigned short __cdecl _byteswap_ushort(unsigned short);
|
unsigned short __cdecl _byteswap_ushort(unsigned short);
|
||||||
unsigned long __cdecl _byteswap_ulong (unsigned long);
|
unsigned long __cdecl _byteswap_ulong (unsigned long);
|
||||||
unsigned __int64 __cdecl _byteswap_uint64(unsigned __int64);
|
unsigned __int64 __cdecl _byteswap_uint64(unsigned __int64);
|
||||||
|
#endif
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user