diff options
author | mdodd <mdodd@FreeBSD.org> | 2003-04-07 12:09:17 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2003-04-07 12:09:17 +0000 |
commit | 86b0c078f70abab5140a11d0a13440d83cdce13d (patch) | |
tree | 7cd7c968e6ffd27f6c903b0ed17950fe2084db38 /bin/cp | |
parent | ca2109254b4fe44dbb7c0c746ba136969ce608f4 (diff) | |
download | FreeBSD-src-86b0c078f70abab5140a11d0a13440d83cdce13d.zip FreeBSD-src-86b0c078f70abab5140a11d0a13440d83cdce13d.tar.gz |
Use the correct data type and qualifier for signal flag.
Diffstat (limited to 'bin/cp')
-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); |