aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-07 12:09:17 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-07 12:09:17 +0000
commit947193d93f6e5d71bfa4138f9b8a03c39d91df36 (patch)
tree7cd7c968e6ffd27f6c903b0ed17950fe2084db38 /bin
parent47e9b3ea64f51254fd151a20a6afcdb7d24cfdf8 (diff)
Notes
Diffstat (limited to 'bin')
-rw-r--r--bin/cp/cp.c2
-rw-r--r--bin/cp/extern.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/cp/cp.c b/bin/cp/cp.c
index 97767291714f..5bb9f8cec2e6 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 f06c65ef779b..d578a1b39d08 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);