X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fcommon.h;h=e5e619d83bb1dd38523cd7432611dfd85771c3c0;hb=45a574151ae64ae4f9b0d99302f7da6d9d8451a9;hp=24227f4bd7adfb0ced64d404315436bdd37fc759;hpb=34795cedb7db68babf7eae672ba47fd486555be8;p=chaz%2Ftar diff --git a/src/common.h b/src/common.h index 24227f4..e5e619d 100644 --- a/src/common.h +++ b/src/common.h @@ -467,11 +467,9 @@ enum exclusion_tag_type check_exclusion_tags (const char *dirname, const char **tag_file_name); #define OFF_TO_CHARS(val, where) off_to_chars (val, where, sizeof (where)) -#define SIZE_TO_CHARS(val, where) size_to_chars (val, where, sizeof (where)) #define TIME_TO_CHARS(val, where) time_to_chars (val, where, sizeof (where)) bool off_to_chars (off_t off, char *buf, size_t size); -bool size_to_chars (size_t v, char *buf, size_t size); bool time_to_chars (time_t t, char *buf, size_t size); /* Module diffarch.c. */ @@ -547,11 +545,9 @@ void decode_header (union block *header, struct tar_stat_info *stat_info, char const *tartime (struct timespec t, bool full_time); #define OFF_FROM_HEADER(where) off_from_header (where, sizeof (where)) -#define SIZE_FROM_HEADER(where) size_from_header (where, sizeof (where)) #define UINTMAX_FROM_HEADER(where) uintmax_from_header (where, sizeof (where)) off_t off_from_header (const char *buf, size_t size); -size_t size_from_header (const char *buf, size_t size); uintmax_t uintmax_from_header (const char *buf, size_t size); void list_archive (void); @@ -607,6 +603,7 @@ void undo_last_backup (void); int deref_stat (bool deref, char const *name, struct stat *buf); +extern int chdir_current; int chdir_arg (char const *dir); void chdir_do (int dir); int chdir_count (void); @@ -636,6 +633,7 @@ int set_file_atime (int fd, char const *file, /* Module names.c. */ +extern size_t name_count; extern struct name *gnu_list_name; void gid_to_gname (gid_t gid, char **gname);