From cc07b9e1707b998340af2f57b6e1a09104cc3d14 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sat, 21 May 2005 23:10:57 +0000 Subject: [PATCH] Include paxlib.h instead of paxerror.h (safer_name_suffix,removed_prefixes_p): Removed. The functions are imported from paxutils --- src/common.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 : \ -- 2.44.0