Source-Changes-HG archive

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

[src/trunk]: src Include "nbtool_config.h" for src/tools/zic/ and



details:   https://anonhg.NetBSD.org/src/rev/0de23bb6cc24
branches:  trunk
changeset: 750478:0de23bb6cc24
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Jan 02 10:42:49 2010 +0000

description:
Include "nbtool_config.h" for src/tools/zic/ and
remove bogus -DNOID to disable __RCSID().

XXX: should we also remove #ifndef lint from scheck.c and zic.c?

diffstat:

 lib/libc/time/ialloc.c |   8 ++++++--
 lib/libc/time/scheck.c |  10 ++++++----
 lib/libc/time/zic.c    |  10 ++++++----
 tools/zic/Makefile     |   3 +--
 4 files changed, 19 insertions(+), 12 deletions(-)

diffs (92 lines):

diff -r 9d0be9414c5d -r 0de23bb6cc24 lib/libc/time/ialloc.c
--- a/lib/libc/time/ialloc.c    Sat Jan 02 07:53:29 2010 +0000
+++ b/lib/libc/time/ialloc.c    Sat Jan 02 10:42:49 2010 +0000
@@ -1,15 +1,19 @@
-/*     $NetBSD: ialloc.c,v 1.6 2009/12/31 22:49:16 mlelstv Exp $       */
+/*     $NetBSD: ialloc.c,v 1.7 2010/01/02 10:42:49 tsutsui Exp $       */
 /*
 ** This file is in the public domain, so clarified as of
 ** 2006-07-17 by Arthur David Olson.
 */
 
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
 #include <sys/cdefs.h>
 
 #if 0
 static char    elsieid[] = "@(#)ialloc.c       8.30";
 #else
-__RCSID("$NetBSD: ialloc.c,v 1.6 2009/12/31 22:49:16 mlelstv Exp $");
+__RCSID("$NetBSD: ialloc.c,v 1.7 2010/01/02 10:42:49 tsutsui Exp $");
 #endif
 
 #include "private.h"
diff -r 9d0be9414c5d -r 0de23bb6cc24 lib/libc/time/scheck.c
--- a/lib/libc/time/scheck.c    Sat Jan 02 07:53:29 2010 +0000
+++ b/lib/libc/time/scheck.c    Sat Jan 02 10:42:49 2010 +0000
@@ -1,21 +1,23 @@
-/*     $NetBSD: scheck.c,v 1.7 2009/12/31 22:49:16 mlelstv Exp $       */
+/*     $NetBSD: scheck.c,v 1.8 2010/01/02 10:42:49 tsutsui Exp $       */
 
 /*
 ** This file is in the public domain, so clarified as of
 ** 2006-07-17 by Arthur David Olson.
 */
 
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
 #include <sys/cdefs.h>
 
 #ifndef lint
-#ifndef NOID
 #if 0
 static char    elsieid[] = "@(#)scheck.c       8.19";
 #else
-__RCSID("$NetBSD: scheck.c,v 1.7 2009/12/31 22:49:16 mlelstv Exp $");
+__RCSID("$NetBSD: scheck.c,v 1.8 2010/01/02 10:42:49 tsutsui Exp $");
 #endif
 #endif /* !defined lint */
-#endif /* !defined NOID */
 
 /*LINTLIBRARY*/
 
diff -r 9d0be9414c5d -r 0de23bb6cc24 lib/libc/time/zic.c
--- a/lib/libc/time/zic.c       Sat Jan 02 07:53:29 2010 +0000
+++ b/lib/libc/time/zic.c       Sat Jan 02 10:42:49 2010 +0000
@@ -1,14 +1,16 @@
-/*     $NetBSD: zic.c,v 1.25 2009/12/31 22:49:16 mlelstv Exp $ */
+/*     $NetBSD: zic.c,v 1.26 2010/01/02 10:42:49 tsutsui Exp $ */
 /*
 ** This file is in the public domain, so clarified as of
 ** 2006-07-17 by Arthur David Olson.
 */
 
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
 #include <sys/cdefs.h>
 #ifndef lint
-#ifndef NOID
-__RCSID("$NetBSD: zic.c,v 1.25 2009/12/31 22:49:16 mlelstv Exp $");
-#endif /* !defined NOID */
+__RCSID("$NetBSD: zic.c,v 1.26 2010/01/02 10:42:49 tsutsui Exp $");
 #endif /* !defined lint */
 
 static char    elsieid[] = "@(#)zic.c  8.20";
diff -r 9d0be9414c5d -r 0de23bb6cc24 tools/zic/Makefile
--- a/tools/zic/Makefile        Sat Jan 02 07:53:29 2010 +0000
+++ b/tools/zic/Makefile        Sat Jan 02 10:42:49 2010 +0000
@@ -1,7 +1,6 @@
-#      $NetBSD: Makefile,v 1.3 2002/12/08 20:20:06 thorpej Exp $
+#      $NetBSD: Makefile,v 1.4 2010/01/02 10:42:49 tsutsui Exp $
 
 HOSTPROGNAME=  ${_TOOL_PREFIX}zic
 HOST_SRCDIR=   usr.sbin/zic
-HOST_CPPFLAGS+=        -DNOID
 
 .include "${.CURDIR}/../Makefile.host"



Home | Main Index | Thread Index | Old Index