diff options
Diffstat (limited to 'bin/pax')
-rw-r--r-- | bin/pax/ar_io.c | 1 | ||||
-rw-r--r-- | bin/pax/ar_subs.c | 1 | ||||
-rw-r--r-- | bin/pax/extern.h | 3 | ||||
-rw-r--r-- | bin/pax/options.c | 1 |
4 files changed, 3 insertions, 3 deletions
diff --git a/bin/pax/ar_io.c b/bin/pax/ar_io.c index c3b35a7..4914c85 100644 --- a/bin/pax/ar_io.c +++ b/bin/pax/ar_io.c @@ -85,7 +85,6 @@ const char *gzip_program; /* name of gzip program */ static pid_t zpid = -1; /* pid of child process */ static int get_phys(void); -extern sigset_t s_mask; static void ar_start_gzip(int, const char *, int); /* diff --git a/bin/pax/ar_subs.c b/bin/pax/ar_subs.c index bc808ab..4a3e5e7 100644 --- a/bin/pax/ar_subs.c +++ b/bin/pax/ar_subs.c @@ -55,7 +55,6 @@ __FBSDID("$FreeBSD$"); static void wr_archive(ARCHD *, int is_app); static int get_arc(void); static int next_head(ARCHD *); -extern sigset_t s_mask; /* * Routines which control the overall operation modes of pax as specified by diff --git a/bin/pax/extern.h b/bin/pax/extern.h index e716792..4375694 100644 --- a/bin/pax/extern.h +++ b/bin/pax/extern.h @@ -186,7 +186,7 @@ void options(int, char **); OPLIST * opt_next(void); int opt_add(const char *); int bad_opt(void); -char *chdname; +extern char *chdname; /* * pat_rep.c @@ -231,6 +231,7 @@ extern int exit_val; extern int docrc; extern char *dirptr; extern const char *argv0; +extern sigset_t s_mask; extern FILE *listf; extern char *tempfile; extern char *tempbase; diff --git a/bin/pax/options.c b/bin/pax/options.c index 5fd641f..32d967e 100644 --- a/bin/pax/options.c +++ b/bin/pax/options.c @@ -81,6 +81,7 @@ static void cpio_usage(void); #define GETLINE_OUT_OF_MEM 2 static int getline_error; +char *chdname; #define GZIP_CMD "gzip" /* command to run as gzip */ #define COMPRESS_CMD "compress" /* command to run as compress */ |