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?
This commit is contained in:
tsutsui 2010-01-02 10:42:49 +00:00
parent aca24a5f7f
commit 47ef4e54e9
4 changed files with 19 additions and 12 deletions

View File

@ -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"

View File

@ -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*/

View File

@ -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";

View File

@ -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"