X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftar;a=blobdiff_plain;f=src%2Fcommon.h;h=04466ae2e9a44f71b0edb66c71b02eadae50a171;hp=365379ae25039999783df14fa36083697cb168d4;hb=1689ed43885c8418c29d1365ae3a06450a460830;hpb=2af87fa2776c8125a587a9b0c2c4fae3bf921ff7 diff --git a/src/common.h b/src/common.h index 365379a..04466ae 100644 --- a/src/common.h +++ b/src/common.h @@ -237,7 +237,7 @@ GLOBAL bool one_file_system_option; /* Create a top-level directory for extracting based on the archive name. */ GLOBAL bool one_top_level_option; -GLOBAL char *one_top_level; +GLOBAL char *one_top_level_dir; /* Specified value to be put into tar file in place of stat () results, or just null and -1 if such an override should not take place. */ @@ -860,6 +860,7 @@ bool transform_program_p (void); /* Module suffix.c */ void set_compression_program_by_suffix (const char *name, const char *defprog); +char *strip_compression_suffix (const char *name); /* Module checkpoint.c */ void checkpoint_compile_action (const char *str);