summaryrefslogtreecommitdiffstats
path: root/bin/cp/cp.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1998-05-06 06:51:42 +0000
committercharnier <charnier@FreeBSD.org>1998-05-06 06:51:42 +0000
commitc4d26d7f835032c231da4c6219c73b2679691222 (patch)
treea83653b0a70dcb5e787512cfa4954591689bf876 /bin/cp/cp.c
parent32338c8e0512ee1c5643fd65a793a21fabadfcfa (diff)
downloadFreeBSD-src-c4d26d7f835032c231da4c6219c73b2679691222.zip
FreeBSD-src-c4d26d7f835032c231da4c6219c73b2679691222.tar.gz
Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.
Diffstat (limited to 'bin/cp/cp.c')
-rw-r--r--bin/cp/cp.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/bin/cp/cp.c b/bin/cp/cp.c
index 6143c10..df60ffc 100644
--- a/bin/cp/cp.c
+++ b/bin/cp/cp.c
@@ -32,8 +32,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: cp.c,v 1.13 1997/02/22 14:01:33 peter Exp $
*/
#ifndef lint
@@ -43,7 +41,11 @@ static char const copyright[] =
#endif /* not lint */
#ifndef lint
+#if 0
static char const sccsid[] = "@(#)cp.c 8.2 (Berkeley) 4/1/94";
+#endif
+static const char rcsid[] =
+ "$Id$";
#endif /* not lint */
/*
@@ -63,16 +65,10 @@ static char const sccsid[] = "@(#)cp.c 8.2 (Berkeley) 4/1/94";
#include <sys/param.h>
#include <sys/stat.h>
-#include <sys/mman.h>
-#include <sys/time.h>
-#include <dirent.h>
#include <err.h>
#include <errno.h>
-#include <fcntl.h>
#include <fts.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
#include <unistd.h>
OpenPOWER on IntegriCloud