diff options
author | markm <markm@FreeBSD.org> | 2002-10-18 14:45:00 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2002-10-18 14:45:00 +0000 |
commit | bde9100ebef64e6a6d3f1efe2a2f4a1a2b6cd123 (patch) | |
tree | 49e04b9932fa5fb719528d91af8916cbf2b39472 /bin/cp/utils.c | |
parent | 9247d17937c51b3defb71859942e0f0ba2311f47 (diff) | |
download | FreeBSD-src-bde9100ebef64e6a6d3f1efe2a2f4a1a2b6cd123.zip FreeBSD-src-bde9100ebef64e6a6d3f1efe2a2f4a1a2b6cd123.tar.gz |
Constify and staticify for lint.
Diffstat (limited to 'bin/cp/utils.c')
-rw-r--r-- | bin/cp/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/cp/utils.c b/bin/cp/utils.c index ab92dfc..7930195 100644 --- a/bin/cp/utils.c +++ b/bin/cp/utils.c @@ -58,7 +58,7 @@ __FBSDID("$FreeBSD$"); #include "extern.h" int -copy_file(FTSENT *entp, int dne) +copy_file(const FTSENT *entp, int dne) { static char buf[MAXBSIZE]; struct stat *fs; @@ -193,7 +193,7 @@ copy_file(FTSENT *entp, int dne) } int -copy_link(FTSENT *p, int exists) +copy_link(const FTSENT *p, int exists) { int len; char llink[PATH_MAX]; |