mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
tar (uintmax_from_header): remove unused function and macro.
Found by clang-16. Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
1cada10e14
commit
2c49acf868
@ -125,7 +125,6 @@ struct tar_stat_info current_stat_info;
|
|||||||
#define MODE_FROM_HEADER(where,hbits) mode_from_header (where, sizeof (where), hbits)
|
#define MODE_FROM_HEADER(where,hbits) mode_from_header (where, sizeof (where), hbits)
|
||||||
#define TIME_FROM_HEADER(where) time_from_header (where, sizeof (where))
|
#define TIME_FROM_HEADER(where) time_from_header (where, sizeof (where))
|
||||||
#define UID_FROM_HEADER(where) uid_from_header (where, sizeof (where))
|
#define UID_FROM_HEADER(where) uid_from_header (where, sizeof (where))
|
||||||
#define UINTMAX_FROM_HEADER(where) uintmax_from_header (where, sizeof (where))
|
|
||||||
|
|
||||||
/*** file scope type declarations ****************************************************************/
|
/*** file scope type declarations ****************************************************************/
|
||||||
|
|
||||||
@ -249,14 +248,6 @@ uid_from_header (const char *p, size_t s)
|
|||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------------------------------- */
|
||||||
|
|
||||||
static inline uintmax_t
|
|
||||||
uintmax_from_header (const char *p, size_t s)
|
|
||||||
{
|
|
||||||
return tar_from_header (p, s, "uintmax_t", 0, UINTMAX_MAX, FALSE);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
tar_calc_sparse_offsets (struct vfs_s_inode *inode)
|
tar_calc_sparse_offsets (struct vfs_s_inode *inode)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user