X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fcommon.h;h=c1effd4d69f04ee225d31c5cb6dc98d7b986f4c0;hb=57c2124d68aa65843548feef9d226fb025503258;hp=f288068cd0000a8b1eb35aacec8a5cd02b9df348;hpb=588232f8599d8fa9bee25da781721feca72327d0;p=chaz%2Ftar diff --git a/src/common.h b/src/common.h index f288068..c1effd4 100644 --- a/src/common.h +++ b/src/common.h @@ -600,6 +600,7 @@ void request_stdin (const char *); void tar_stat_init (struct tar_stat_info *st); void tar_stat_destroy (struct tar_stat_info *st); void usage (int) __attribute__ ((noreturn)); +int tar_timespec_cmp (struct timespec a, struct timespec b); /* Module update.c. */ @@ -611,7 +612,7 @@ void update_archive (void); void xheader_decode (struct tar_stat_info *); void xheader_decode_global (void); -void xheader_store (char const *, struct tar_stat_info const *, void *); +void xheader_store (char const *, struct tar_stat_info const *, void const *); void xheader_read (union block *, size_t); void xheader_write (char type, char *name, struct xheader *xhdr); void xheader_write_global (void);