X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fcommon.h;h=8bd86407dbfda3c8b24a726a7f76724fc0b517dd;hb=ecbcb7b6d74c2d69386c8d7e435486a4690c9993;hp=e9088543894bea62c92d2a7093a424d92128c143;hpb=59146768ef4a2c045239628b7179ea477563d63f;p=chaz%2Ftar diff --git a/src/common.h b/src/common.h index e908854..8bd8640 100644 --- a/src/common.h +++ b/src/common.h @@ -610,6 +610,8 @@ bool maybe_backup_file (const char *file_name, bool this_is_the_archive); void undo_last_backup (void); int deref_stat (bool deref, char const *name, struct stat *buf); +int fd_utimensat (int fd, int parentfd, char const *file, + struct timespec const ts[2], int atflag); extern int chdir_current; int chdir_arg (char const *dir); @@ -636,8 +638,8 @@ pid_t xfork (void); void xpipe (int fd[2]); void *page_aligned_alloc (void **ptr, size_t size); -int set_file_atime (int fd, char const *file, - struct timespec const timespec[2]); +int set_file_atime (int fd, char const *file, struct timespec atime, + int atflag); /* Module names.c. */