Skip to content

Commit

Permalink
Quiet warnings about copyright[].
Browse files Browse the repository at this point in the history
  • Loading branch information
David E. O'Brien authored and David E. O'Brien committed May 1, 2003
1 parent 4f3204e commit 09a80d4
Show file tree
Hide file tree
Showing 24 changed files with 47 additions and 44 deletions.
2 changes: 2 additions & 0 deletions bin/chio/chio.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@
* 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>
__FBSDID("$FreeBSD$");
Expand Down
4 changes: 2 additions & 2 deletions bin/chmod/chmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
* 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 */

#ifndef lint
#if 0
static char sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94";
#endif
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

Expand Down
4 changes: 2 additions & 2 deletions bin/cp/cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@
* 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 */

#ifndef lint
#if 0
static char sccsid[] = "@(#)cp.c 8.2 (Berkeley) 4/1/94";
#endif
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

Expand Down
4 changes: 2 additions & 2 deletions bin/dd/dd.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@
* 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 */

#ifndef lint
#if 0
static char sccsid[] = "@(#)dd.c 8.5 (Berkeley) 4/2/94";
#endif
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

Expand Down
4 changes: 2 additions & 2 deletions bin/df/df.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@
* 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 */

#ifndef lint
#if 0
static char sccsid[] = "@(#)df.c 8.9 (Berkeley) 5/8/95";
#endif
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

Expand Down
4 changes: 2 additions & 2 deletions bin/domainname/domainname.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
* 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 */

#ifndef lint
#if 0
static char const sccsid[] = "From: @(#)hostname.c 8.1 (Berkeley) 5/31/93";
#endif
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

Expand Down
4 changes: 2 additions & 2 deletions bin/echo/echo.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
* 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 */

#ifndef lint
#if 0
static char sccsid[] = "@(#)echo.c 8.1 (Berkeley) 5/31/93";
#endif
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

Expand Down
2 changes: 2 additions & 0 deletions bin/ed/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@
*/

#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>
Expand Down
4 changes: 2 additions & 2 deletions bin/hostname/hostname.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
* 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 */

#ifndef lint
#if 0
static char sccsid[] = "@(#)hostname.c 8.1 (Berkeley) 5/31/93";
#endif
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

Expand Down
4 changes: 2 additions & 2 deletions bin/kill/kill.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
* 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 */

#ifndef lint
#if 0
static char sccsid[] = "@(#)kill.c 8.4 (Berkeley) 4/28/95";
#endif
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

Expand Down
4 changes: 2 additions & 2 deletions bin/ln/ln.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
* 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 */

#ifndef lint
#if 0
static char sccsid[] = "@(#)ln.c 8.2 (Berkeley) 3/31/94";
#endif
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

Expand Down
4 changes: 2 additions & 2 deletions bin/mkdir/mkdir.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
* 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 */

#ifndef lint
#if 0
static char sccsid[] = "@(#)mkdir.c 8.2 (Berkeley) 1/25/94";
#endif
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

Expand Down
4 changes: 2 additions & 2 deletions bin/mv/mv.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@
* 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 */

#ifndef lint
#if 0
static char sccsid[] = "@(#)mv.c 8.2 (Berkeley) 4/2/94";
#endif
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

Expand Down
4 changes: 2 additions & 2 deletions bin/pwd/pwd.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
* 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 */

#ifndef lint
#if 0
static char sccsid[] = "@(#)pwd.c 8.3 (Berkeley) 4/1/94";
#endif
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

Expand Down
3 changes: 1 addition & 2 deletions bin/rcp/rcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,17 @@
* SUCH DAMAGE.
*/

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

#if 0
#ifndef lint
static char sccsid[] = "@(#)rcp.c 8.2 (Berkeley) 4/2/94";
#endif /* not lint */
#endif

#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

Expand Down
4 changes: 2 additions & 2 deletions bin/rm/rm.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
* 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 */

#ifndef lint
#if 0
static char sccsid[] = "@(#)rm.c 8.5 (Berkeley) 4/18/94";
#endif
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

Expand Down
4 changes: 2 additions & 2 deletions bin/rmdir/rmdir.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
* 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 */

#ifndef lint
#if 0
static char sccsid[] = "@(#)rmdir.c 8.3 (Berkeley) 4/2/94";
#endif
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

Expand Down
4 changes: 2 additions & 2 deletions bin/sh/arith.y
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ expr: ARITH_LPAREN expr ARITH_RPAREN = { $$ = $2; }
#if 0
static char sccsid[] = "@(#)arith.y 8.3 (Berkeley) 5/4/95";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

#include "shell.h"
#include "error.h"
Expand Down
4 changes: 2 additions & 2 deletions bin/sh/arith_lex.l
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
#if 0
static char sccsid[] = "@(#)arith_lex.l 8.3 (Berkeley) 5/4/95";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

#include "y.tab.h"
#include "error.h"
Expand Down
4 changes: 2 additions & 2 deletions bin/sh/mknodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@
* 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 */

#ifndef lint
#if 0
static char sccsid[] = "@(#)mknodes.c 8.2 (Berkeley) 5/4/95";
#endif
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

Expand Down
4 changes: 2 additions & 2 deletions bin/sh/mksyntax.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@
* 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 */

#ifndef lint
#if 0
static char sccsid[] = "@(#)mksyntax.c 8.2 (Berkeley) 5/4/95";
#endif
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

Expand Down
Loading

0 comments on commit 09a80d4

Please sign in to comment.