Skip to content

Commit

Permalink
Remove copyright strings ifdef'd out
Browse files Browse the repository at this point in the history
We've ifdef'd out the copyright strings for some time now. Go ahead and
remove the ifdefs. Plus whatever other detritis was left over from other
recent removals. These copyright strings are present in the comments and
are largely from CSRG's attempt at adding their copyright to every
binary file (which modern interpretations of the license doesn't
require).

Sponsored by:		Netflix
  • Loading branch information
bsdimp committed Nov 27, 2023
1 parent 5b31cc9 commit 0b8224d
Show file tree
Hide file tree
Showing 227 changed files with 0 additions and 2,003 deletions.
10 changes: 0 additions & 10 deletions bin/cat/cat.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,6 @@
* SUCH DAMAGE.
*/

#if 0
#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1989, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#endif

#ifndef lint
#endif /* not lint */
#include <sys/cdefs.h>
#include <sys/capsicum.h>
#include <sys/param.h>
Expand Down
10 changes: 0 additions & 10 deletions bin/chflags/chflags.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,6 @@
* SUCH DAMAGE.
*/

#if 0
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1992, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif

#endif

#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/stat.h>

Expand Down
8 changes: 0 additions & 8 deletions bin/chio/chio.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@
* Addidional Copyright (c) 2000, by C. Stephen Gunn, Waterspout Communications
*/

#if 0
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1996 Jason R. Thorpe. All rights reserved.";
#endif /* not lint */
#endif

#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/chio.h>
#include <err.h>
Expand Down
9 changes: 0 additions & 9 deletions bin/chmod/chmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@
* SUCH DAMAGE.
*/

#if 0
#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1989, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#endif
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/stat.h>

Expand Down
9 changes: 0 additions & 9 deletions bin/cp/cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@
* SUCH DAMAGE.
*/

#if 0
#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1988, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#endif
#include <sys/cdefs.h>
/*
* Cp copies source files to target files.
*
Expand Down
9 changes: 0 additions & 9 deletions bin/date/date.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@
* SUCH DAMAGE.
*/

#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1985, 1987, 1988, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#if 0
#endif

#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/time.h>
Expand Down
9 changes: 0 additions & 9 deletions bin/dd/dd.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,6 @@
* SUCH DAMAGE.
*/

#if 0
#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1991, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#endif
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/capsicum.h>
Expand Down
9 changes: 0 additions & 9 deletions bin/df/df.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,6 @@
* SUCH DAMAGE.
*/

#if 0
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1980, 1990, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#endif
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/mount.h>
Expand Down
9 changes: 0 additions & 9 deletions bin/domainname/domainname.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@
* SUCH DAMAGE.
*/

#if 0
#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1988, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#endif
#include <sys/cdefs.h>
#include <sys/param.h>

#include <err.h>
Expand Down
9 changes: 0 additions & 9 deletions bin/echo/echo.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@
* SUCH DAMAGE.
*/

#if 0
#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1989, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#endif
#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/uio.h>

Expand Down
9 changes: 0 additions & 9 deletions bin/ed/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@
* SUCH DAMAGE.
*/

#ifndef lint
#if 0
static const char copyright[] =
"@(#) Copyright (c) 1993 Andrew Moore, Talke Studio. \n\
All rights reserved.\n";
#endif
#endif /* not lint */

#include <sys/cdefs.h>
/*
* CREDITS
*
Expand Down
9 changes: 0 additions & 9 deletions bin/hostname/hostname.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@
* SUCH DAMAGE.
*/

#if 0
#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1988, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#endif
#include <sys/cdefs.h>
#include <sys/param.h>

#include <err.h>
Expand Down
9 changes: 0 additions & 9 deletions bin/kill/kill.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,6 @@
* as a builtin for /bin/sh (#define SHELL).
*/

#if 0
#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1988, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#endif
#include <sys/cdefs.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
Expand Down
9 changes: 0 additions & 9 deletions bin/ln/ln.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@
* SUCH DAMAGE.
*/

#if 0
#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1987, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#endif
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/stat.h>

Expand Down
9 changes: 0 additions & 9 deletions bin/ls/ls.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@
* SUCH DAMAGE.
*/

#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1989, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#if 0
#endif
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
Expand Down
9 changes: 0 additions & 9 deletions bin/mkdir/mkdir.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@
* SUCH DAMAGE.
*/

#if 0
#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1983, 1992, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#endif
#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/stat.h>

Expand Down
9 changes: 0 additions & 9 deletions bin/mv/mv.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@
* SUCH DAMAGE.
*/

#if 0
#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1989, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#endif
#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/acl.h>
#include <sys/param.h>
Expand Down
9 changes: 0 additions & 9 deletions bin/pax/pax.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,6 @@
* SUCH DAMAGE.
*/

#if 0
#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1992, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#endif
#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
Expand Down
10 changes: 0 additions & 10 deletions bin/ps/ps.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,6 @@
* ------+---------+---------+-------- + --------+---------+---------+---------*
*/

#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1990, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#if 0
#endif

#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/jail.h>
#include <sys/proc.h>
Expand Down
9 changes: 0 additions & 9 deletions bin/pwd/pwd.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@
* SUCH DAMAGE.
*/

#if 0
#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1991, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#endif
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/types.h>
Expand Down
9 changes: 0 additions & 9 deletions bin/rm/rm.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@
* SUCH DAMAGE.
*/

#if 0
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1990, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#endif
#include <sys/cdefs.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <sys/mount.h>
Expand Down
9 changes: 0 additions & 9 deletions bin/rmdir/rmdir.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@
* SUCH DAMAGE.
*/

#if 0
#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1992, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#endif
#include <sys/cdefs.h>
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
Expand Down
9 changes: 0 additions & 9 deletions bin/sh/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@
* SUCH DAMAGE.
*/

#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1991, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#ifndef lint
#endif /* not lint */
#include <sys/cdefs.h>
#include <stdio.h>
#include <signal.h>
#include <sys/stat.h>
Expand Down
9 changes: 0 additions & 9 deletions bin/sh/mknodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@
* SUCH DAMAGE.
*/

#if 0
#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1991, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#endif
#include <sys/cdefs.h>
/*
* This program reads the nodetypes file and nodes.c.pat file. It generates
* the files nodes.h and nodes.c.
Expand Down
Loading

0 comments on commit 0b8224d

Please sign in to comment.