diff options
author | markm <markm@FreeBSD.org> | 2002-02-22 21:24:14 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2002-02-22 21:24:14 +0000 |
commit | 2b941891dbad5a4edcf64325cbd3a6cf9f8b0931 (patch) | |
tree | 7df96d0a81d721bfad76255e68d1542c4a161f7b /bin/cp/extern.h | |
parent | 3ce9528bfb2bfddd566fc2750966b7fc0b2a8a93 (diff) | |
download | FreeBSD-src-2b941891dbad5a4edcf64325cbd3a6cf9f8b0931.zip FreeBSD-src-2b941891dbad5a4edcf64325cbd3a6cf9f8b0931.tar.gz |
Fix warnings inspired by lint, a commercial lint and WARNS=4.
Diffstat (limited to 'bin/cp/extern.h')
-rw-r--r-- | bin/cp/extern.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/bin/cp/extern.h b/bin/cp/extern.h index 5647b5f..74536c3 100644 --- a/bin/cp/extern.h +++ b/bin/cp/extern.h @@ -35,15 +35,13 @@ */ typedef struct { - char *p_end; /* pointer to NULL at end of path */ - char *target_end; /* pointer to end of target base */ - char p_path[PATH_MAX]; /* pointer to the start of a path */ + char *p_end; /* pointer to NULL at end of path */ + char *target_end; /* pointer to end of target base */ + char p_path[PATH_MAX]; /* pointer to the start of a path */ } PATH_T; extern PATH_T to; -extern int iflag, pflag, fflag, vflag; - -#include <sys/cdefs.h> +extern int iflag, pflag, fflag; __BEGIN_DECLS int copy_fifo(struct stat *, int); |