From cd77eadd1bebba97178906fa68fa1fb05d30375f Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Thu, 9 May 2019 20:10:58 -0500 Subject: bin/cat: remove NetBSD cruft --- bin/cat/cat.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'bin') diff --git a/bin/cat/cat.c b/bin/cat/cat.c index 563ba63..480a387 100644 --- a/bin/cat/cat.c +++ b/bin/cat/cat.c @@ -36,18 +36,6 @@ #include "nbtool_config.h" #endif -#include -#if !defined(lint) -__COPYRIGHT( -"@(#) Copyright (c) 1989, 1993\ - The Regents of the University of California. All rights reserved."); -#if 0 -static char sccsid[] = "@(#)cat.c 8.2 (Berkeley) 4/27/95"; -#else -__RCSID("$NetBSD: cat.c,v 1.57 2016/06/16 00:52:37 sevan Exp $"); -#endif -#endif /* not lint */ - #include #include @@ -77,7 +65,6 @@ main(int argc, char *argv[]) int ch; struct flock stdout_lock; - setprogname(argv[0]); (void)setlocale(LC_ALL, ""); while ((ch = getopt(argc, argv, "B:beflnstuv")) != -1) @@ -116,7 +103,7 @@ main(int argc, char *argv[]) case '?': (void)fprintf(stderr, "Usage: %s [-beflnstuv] [-B bsize] [-] " - "[file ...]\n", getprogname()); + "[file ...]\n", argv[0]); return EXIT_FAILURE; } argv += optind; -- cgit v1.2.3-70-g09d2