diff options
-rw-r--r-- | lib/libarchive/archive_entry.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/libarchive/archive_entry.c b/lib/libarchive/archive_entry.c index 8371f85..a3919e5 100644 --- a/lib/libarchive/archive_entry.c +++ b/lib/libarchive/archive_entry.c @@ -351,6 +351,19 @@ archive_entry_atime_nsec(struct archive_entry *entry) return (ARCHIVE_STAT_ATIME_NANOS(&entry->ae_stat)); } +time_t +archive_entry_ctime(struct archive_entry *entry) +{ + return (entry->ae_stat.st_ctime); +} + +long +archive_entry_ctime_nsec(struct archive_entry *entry) +{ + (void)entry; /* entry can be unused here. */ + return (ARCHIVE_STAT_CTIME_NANOS(&entry->ae_stat)); +} + dev_t archive_entry_dev(struct archive_entry *entry) { @@ -582,19 +595,6 @@ archive_entry_set_ctime(struct archive_entry *entry, time_t t, long ns) ARCHIVE_STAT_SET_CTIME_NANOS(&entry->ae_stat, ns); } -time_t -archive_entry_ctime(struct archive_entry *entry) -{ - return (entry->ae_stat.st_ctime); -} - -long -archive_entry_ctime_nsec(struct archive_entry *entry) -{ - (void)entry; /* entry can be unused here. */ - return (ARCHIVE_STAT_CTIME_NANOS(&entry->ae_stat)); -} - /* Set symlink if symlink is already set, else set hardlink. */ void archive_entry_set_link(struct archive_entry *entry, const char *target) |