Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/yacc Only use __RCSID() if defined(__NetBSD__) so th...



details:   https://anonhg.NetBSD.org/src/rev/811f585d8021
branches:  trunk
changeset: 477694:811f585d8021
user:      explorer <explorer%NetBSD.org@localhost>
date:      Wed Oct 27 20:28:11 1999 +0000

description:
Only use __RCSID() if defined(__NetBSD__) so the yacc output files can
be used on non-NetBSD platforms, too.

diffstat:

 usr.bin/yacc/skeleton.c |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 32033d2577a3 -r 811f585d8021 usr.bin/yacc/skeleton.c
--- a/usr.bin/yacc/skeleton.c   Wed Oct 27 19:33:27 1999 +0000
+++ b/usr.bin/yacc/skeleton.c   Wed Oct 27 20:28:11 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: skeleton.c,v 1.14 1997/10/20 03:41:16 lukem Exp $      */
+/*     $NetBSD: skeleton.c,v 1.15 1999/10/27 20:28:11 explorer Exp $   */
 
 /*
  * Copyright (c) 1989 The Regents of the University of California.
@@ -41,8 +41,10 @@
 #if 0
 static char sccsid[] = "@(#)skeleton.c 5.8 (Berkeley) 4/29/95";
 #else
-__RCSID("$NetBSD: skeleton.c,v 1.14 1997/10/20 03:41:16 lukem Exp $");
-#endif
+#if defined(__NetBSD__)
+__RCSID("$NetBSD: skeleton.c,v 1.15 1999/10/27 20:28:11 explorer Exp $");
+#endif /* !defined(__NetBSD__) */
+#endif /* 0 */
 #endif /* not lint */
 
 #include "defs.h"
@@ -66,7 +68,7 @@
     "#if 0",
     "static char yysccsid[] = \"@(#)yaccpar    1.9 (Berkeley) 02/21/93\";",
     "#else",
-    "__IDSTRING(yyrcsid, \"$NetBSD: skeleton.c,v 1.14 1997/10/20 03:41:16 lukem Exp $\");",
+    "__IDSTRING(yyrcsid, \"$NetBSD: skeleton.c,v 1.15 1999/10/27 20:28:11 explorer Exp $\");",
     "#endif",
     "#endif",
     "#include <stdlib.h>",



Home | Main Index | Thread Index | Old Index