Module Name: src
Committed By: tsutsui
Date: Sat Jan 2 10:42:49 UTC 2010
Modified Files:
src/lib/libc/time: ialloc.c scheck.c zic.c
src/tools/zic: Makefile
Log Message:
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?
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libc/time/ialloc.c
cvs rdiff -u -r1.7 -r1.8 src/lib/libc/time/scheck.c
cvs rdiff -u -r1.25 -r1.26 src/lib/libc/time/zic.c
cvs rdiff -u -r1.3 -r1.4 src/tools/zic/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/time/ialloc.c
diff -u src/lib/libc/time/ialloc.c:1.6 src/lib/libc/time/ialloc.c:1.7
--- src/lib/libc/time/ialloc.c:1.6 Thu Dec 31 22:49:16 2009
+++ src/lib/libc/time/ialloc.c Sat Jan 2 10:42:49 2010
@@ -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"
Index: src/lib/libc/time/scheck.c
diff -u src/lib/libc/time/scheck.c:1.7 src/lib/libc/time/scheck.c:1.8
--- src/lib/libc/time/scheck.c:1.7 Thu Dec 31 22:49:16 2009
+++ src/lib/libc/time/scheck.c Sat Jan 2 10:42:49 2010
@@ -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*/
Index: src/lib/libc/time/zic.c
diff -u src/lib/libc/time/zic.c:1.25 src/lib/libc/time/zic.c:1.26
--- src/lib/libc/time/zic.c:1.25 Thu Dec 31 22:49:16 2009
+++ src/lib/libc/time/zic.c Sat Jan 2 10:42:49 2010
@@ -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";
Index: src/tools/zic/Makefile
diff -u src/tools/zic/Makefile:1.3 src/tools/zic/Makefile:1.4
--- src/tools/zic/Makefile:1.3 Sun Dec 8 20:20:06 2002
+++ src/tools/zic/Makefile Sat Jan 2 10:42:49 2010
@@ -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"