diff options
-rw-r--r-- | bin/cp/cp.c | 2 | ||||
-rw-r--r-- | bin/cp/extern.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/cp/cp.c b/bin/cp/cp.c index 9776729..5bb9f8c 100644 --- a/bin/cp/cp.c +++ b/bin/cp/cp.c @@ -89,7 +89,7 @@ PATH_T to = { to.p_path, emptystring, "" }; int fflag, iflag, nflag, pflag, vflag; static int Rflag, rflag; -int info; +volatile sig_atomic_t info; static void siginfo (int notused __unused); enum op { FILE_TO_FILE, FILE_TO_DIR, DIR_TO_DNE }; diff --git a/bin/cp/extern.h b/bin/cp/extern.h index f06c65e..d578a1b 100644 --- a/bin/cp/extern.h +++ b/bin/cp/extern.h @@ -42,7 +42,7 @@ typedef struct { extern PATH_T to; extern int fflag, iflag, nflag, pflag, vflag; -extern int info; +extern volatile sig_atomic_t info; __BEGIN_DECLS int copy_fifo(struct stat *, int); |