Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/nvi/dist/catalog One __RCSID is enough. Don't d...



details:   https://anonhg.NetBSD.org/src/rev/40b06b7833f7
branches:  trunk
changeset: 326414:40b06b7833f7
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Jan 28 20:43:55 2014 +0000

description:
One __RCSID is enough. Don't define it when building catalog as tool.

diffstat:

 external/bsd/nvi/dist/catalog/dump.c |  13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)

diffs (35 lines):

diff -r 05209682cf31 -r 40b06b7833f7 external/bsd/nvi/dist/catalog/dump.c
--- a/external/bsd/nvi/dist/catalog/dump.c      Tue Jan 28 19:41:52 2014 +0000
+++ b/external/bsd/nvi/dist/catalog/dump.c      Tue Jan 28 20:43:55 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dump.c,v 1.3 2014/01/26 21:43:44 christos Exp $ */
+/*     $NetBSD: dump.c,v 1.4 2014/01/28 20:43:55 joerg Exp $ */
 /*-
  * Copyright (c) 1992, 1993, 1994
  *     The Regents of the University of California.  All rights reserved.
@@ -6,6 +6,7 @@
  * %sccs.include.redist.c%
  */
 
+#if defined(__NetBSD__)
 #include <sys/cdefs.h>
 #if 0
 #ifndef lint
@@ -14,16 +15,8 @@
        The Regents of the University of California.  All rights reserved.\n";
 #endif /* not lint */
 #else
-__RCSID("$NetBSD: dump.c,v 1.3 2014/01/26 21:43:44 christos Exp $");
+__RCSID("$NetBSD: dump.c,v 1.4 2014/01/28 20:43:55 joerg Exp $");
 #endif
-
-#include <sys/cdefs.h>
-#if 0
-#ifndef lint
-static char sccsid[] = "Id: dump.c,v 8.1 1994/08/31 13:27:37 bostic Exp  (Berkeley) Date: 1994/08/31 13:27:37 ";
-#endif /* not lint */
-#else
-__RCSID("$NetBSD: dump.c,v 1.3 2014/01/26 21:43:44 christos Exp $");
 #endif
 
 #include <ctype.h>



Home | Main Index | Thread Index | Old Index