From: Sergey Poznyakoff Date: Sat, 21 May 2005 23:10:57 +0000 (+0000) Subject: Include paxlib.h instead of paxerror.h X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=cc07b9e1707b998340af2f57b6e1a09104cc3d14;p=chaz%2Ftar Include paxlib.h instead of paxerror.h (safer_name_suffix,removed_prefixes_p): Removed. The functions are imported from paxutils --- diff --git a/src/common.h b/src/common.h index 79da31d..e6860a1 100644 --- a/src/common.h +++ b/src/common.h @@ -67,7 +67,7 @@ #define obstack_chunk_free free #include -#include +#include /* Log base 2 of common values. */ #define LG_8 3 @@ -570,7 +570,6 @@ struct name *name_scan (const char *); char *name_from_list (void); void blank_name_list (void); char *new_name (const char *, const char *); -char *safer_name_suffix (char const *, bool); size_t stripped_prefix_len (char const *file_name, size_t num); bool all_names_found (struct tar_stat_info *); @@ -582,8 +581,6 @@ bool is_individual_file (char const *); bool contains_dot_dot (char const *); -bool removed_prefixes_p (void); - #define ISFOUND(c) ((occurrence_option == 0) ? (c)->found_count : \ (c)->found_count == occurrence_option) #define WASFOUND(c) ((occurrence_option == 0) ? (c)->found_count : \