Index: bin/cp/cp.c =================================================================== --- bin/cp/cp.c +++ bin/cp/cp.c @@ -85,7 +85,7 @@ PATH_T to = { to.p_path, emptystring, "" }; -int fflag, iflag, lflag, nflag, pflag, sflag, vflag; +bool fflag, iflag, lflag, nflag, pflag, sflag, vflag; static int Rflag, rflag; volatile sig_atomic_t info; Index: bin/cp/extern.h =================================================================== --- bin/cp/extern.h +++ bin/cp/extern.h @@ -32,6 +32,8 @@ * $FreeBSD$ */ +#include + typedef struct { char *p_end; /* pointer to NULL at end of path */ char *target_end; /* pointer to end of target base */ @@ -39,7 +41,7 @@ } PATH_T; extern PATH_T to; -extern int fflag, iflag, lflag, nflag, pflag, sflag, vflag; +extern bool fflag, iflag, lflag, nflag, pflag, sflag, vflag; extern volatile sig_atomic_t info; __BEGIN_DECLS