Protect __RCSID and __COPYRIGHT from being invoked if not defined.

This commit is contained in:
bjh21 2002-03-31 14:43:22 +00:00
parent 3adb535884
commit 8088602c68
6 changed files with 19 additions and 19 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cksum.c,v 1.15 2001/03/21 03:16:38 atatat Exp $ */
/* $NetBSD: cksum.c,v 1.16 2002/03/31 14:43:22 bjh21 Exp $ */
/*-
* Copyright (c) 1997 Jason R. Thorpe. All rights reserved.
@ -38,16 +38,16 @@
*/
#include <sys/cdefs.h>
#ifndef lint
#if defined(__COPYRIGHT) && !defined(lint)
__COPYRIGHT("@(#) Copyright (c) 1991, 1993\n\
The Regents of the University of California. All rights reserved.\n");
#endif /* not lint */
#ifndef lint
#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)cksum.c 8.2 (Berkeley) 4/28/95";
#endif
__RCSID("$NetBSD: cksum.c,v 1.15 2001/03/21 03:16:38 atatat Exp $");
__RCSID("$NetBSD: cksum.c,v 1.16 2002/03/31 14:43:22 bjh21 Exp $");
#endif /* not lint */
#include <sys/cdefs.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: crc.c,v 1.11 2001/11/10 05:16:43 mycroft Exp $ */
/* $NetBSD: crc.c,v 1.12 2002/03/31 14:43:22 bjh21 Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -37,11 +37,11 @@
*/
#include <sys/cdefs.h>
#ifndef lint
#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)crc.c 8.1 (Berkeley) 6/17/93";
#else
__RCSID("$NetBSD: crc.c,v 1.11 2001/11/10 05:16:43 mycroft Exp $");
__RCSID("$NetBSD: crc.c,v 1.12 2002/03/31 14:43:22 bjh21 Exp $");
#endif
#endif /* not lint */

View File

@ -1,4 +1,4 @@
/* $NetBSD: md5.c,v 1.3 2001/03/20 18:46:26 atatat Exp $ */
/* $NetBSD: md5.c,v 1.4 2002/03/31 14:43:22 bjh21 Exp $ */
/*
* MDDRIVER.C - test driver for MD2, MD4 and MD5
@ -18,8 +18,8 @@
*/
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: md5.c,v 1.3 2001/03/20 18:46:26 atatat Exp $");
#if defined(__RCSID) && !defined(lint)
__RCSID("$NetBSD: md5.c,v 1.4 2002/03/31 14:43:22 bjh21 Exp $");
#endif /* not lint */
#include <sys/types.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: print.c,v 1.6 1997/10/17 11:37:14 lukem Exp $ */
/* $NetBSD: print.c,v 1.7 2002/03/31 14:43:22 bjh21 Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -34,11 +34,11 @@
*/
#include <sys/cdefs.h>
#ifndef lint
#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)print.c 8.1 (Berkeley) 6/6/93";
#else
__RCSID("$NetBSD: print.c,v 1.6 1997/10/17 11:37:14 lukem Exp $");
__RCSID("$NetBSD: print.c,v 1.7 2002/03/31 14:43:22 bjh21 Exp $");
#endif
#endif /* not lint */

View File

@ -1,4 +1,4 @@
/* $NetBSD: sum1.c,v 1.7 2001/03/21 03:16:38 atatat Exp $ */
/* $NetBSD: sum1.c,v 1.8 2002/03/31 14:43:23 bjh21 Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -34,11 +34,11 @@
*/
#include <sys/cdefs.h>
#ifndef lint
#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)sum1.c 8.1 (Berkeley) 6/6/93";
#else
__RCSID("$NetBSD: sum1.c,v 1.7 2001/03/21 03:16:38 atatat Exp $");
__RCSID("$NetBSD: sum1.c,v 1.8 2002/03/31 14:43:23 bjh21 Exp $");
#endif
#endif /* not lint */

View File

@ -1,4 +1,4 @@
/* $NetBSD: sum2.c,v 1.7 2001/03/21 03:16:38 atatat Exp $ */
/* $NetBSD: sum2.c,v 1.8 2002/03/31 14:43:23 bjh21 Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -34,11 +34,11 @@
*/
#include <sys/cdefs.h>
#ifndef lint
#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)sum2.c 8.1 (Berkeley) 6/6/93";
#else
__RCSID("$NetBSD: sum2.c,v 1.7 2001/03/21 03:16:38 atatat Exp $");
__RCSID("$NetBSD: sum2.c,v 1.8 2002/03/31 14:43:23 bjh21 Exp $");
#endif
#endif /* not lint */