defs.h already includes nbtool_config.h, so don't do it twice.

This commit is contained in:
christos 2010-12-25 23:43:30 +00:00
parent fdbe2a0785
commit 6f6878df03
13 changed files with 33 additions and 83 deletions

View File

@ -1,13 +1,10 @@
/* $NetBSD: closure.c,v 1.4 2010/12/25 19:24:28 joerg Exp $ */
/* $NetBSD: closure.c,v 1.5 2010/12/25 23:43:30 christos Exp $ */
/* Id: closure.c,v 1.9 2010/06/09 08:21:47 tom Exp */
#include "defs.h"
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#include <sys/cdefs.h>
__RCSID("$NetBSD: closure.c,v 1.4 2010/12/25 19:24:28 joerg Exp $");
__RCSID("$NetBSD: closure.c,v 1.5 2010/12/25 23:43:30 christos Exp $");
Value_t *itemset;
Value_t *itemsetend;

View File

@ -1,14 +1,10 @@
/* $NetBSD: error.c,v 1.5 2010/12/25 19:24:28 joerg Exp $ */
/* $NetBSD: error.c,v 1.6 2010/12/25 23:43:30 christos Exp $ */
/* Id: error.c,v 1.8 2010/11/24 15:10:20 tom Exp */
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#include <sys/cdefs.h>
__RCSID("$NetBSD: error.c,v 1.5 2010/12/25 19:24:28 joerg Exp $");
#include "defs.h"
#include <sys/cdefs.h>
__RCSID("$NetBSD: error.c,v 1.6 2010/12/25 23:43:30 christos Exp $");
/* routines for printing error messages */

View File

@ -1,14 +1,10 @@
/* $NetBSD: graph.c,v 1.3 2010/12/25 19:24:28 joerg Exp $ */
/* $NetBSD: graph.c,v 1.4 2010/12/25 23:43:30 christos Exp $ */
/* Id: graph.c,v 1.7 2009/10/27 09:25:20 tom Exp */
#include "defs.h"
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#include <sys/cdefs.h>
__RCSID("$NetBSD: graph.c,v 1.3 2010/12/25 19:24:28 joerg Exp $");
__RCSID("$NetBSD: graph.c,v 1.4 2010/12/25 23:43:30 christos Exp $");
static void graph_state(int stateno);
static void graph_LA(int ruleno);

View File

@ -1,14 +1,10 @@
/* $NetBSD: lalr.c,v 1.3 2010/12/25 19:24:28 joerg Exp $ */
/* $NetBSD: lalr.c,v 1.4 2010/12/25 23:43:30 christos Exp $ */
/* Id: lalr.c,v 1.9 2009/10/27 09:49:27 tom Exp */
#include "defs.h"
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#include <sys/cdefs.h>
__RCSID("$NetBSD: lalr.c,v 1.3 2010/12/25 19:24:28 joerg Exp $");
__RCSID("$NetBSD: lalr.c,v 1.4 2010/12/25 23:43:30 christos Exp $");
typedef struct shorts
{

View File

@ -1,14 +1,10 @@
/* $NetBSD: lr0.c,v 1.4 2010/12/25 19:24:28 joerg Exp $ */
/* $NetBSD: lr0.c,v 1.5 2010/12/25 23:43:30 christos Exp $ */
/* Id: lr0.c,v 1.12 2010/06/09 08:53:17 tom Exp */
#include "defs.h"
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#include <sys/cdefs.h>
__RCSID("$NetBSD: lr0.c,v 1.4 2010/12/25 19:24:28 joerg Exp $");
__RCSID("$NetBSD: lr0.c,v 1.5 2010/12/25 23:43:30 christos Exp $");
static core *new_state(int symbol);
static Value_t get_state(int symbol);

View File

@ -1,14 +1,10 @@
/* $NetBSD: main.c,v 1.5 2010/12/25 19:24:28 joerg Exp $ */
/* $NetBSD: main.c,v 1.6 2010/12/25 23:43:30 christos Exp $ */
/* Id: main.c,v 1.30 2010/11/24 15:13:39 tom Exp */
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#include "defs.h"
#include <sys/cdefs.h>
__RCSID("$NetBSD: main.c,v 1.5 2010/12/25 19:24:28 joerg Exp $");
#include "defs.h"
__RCSID("$NetBSD: main.c,v 1.6 2010/12/25 23:43:30 christos Exp $");
#include <signal.h>
#include <unistd.h> /* for _exit() */

View File

@ -1,14 +1,10 @@
/* $NetBSD: mkpar.c,v 1.4 2010/12/25 19:24:28 joerg Exp $ */
/* $NetBSD: mkpar.c,v 1.5 2010/12/25 23:43:30 christos Exp $ */
/* Id: mkpar.c,v 1.11 2010/06/09 08:53:17 tom Exp */
#include "defs.h"
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#include <sys/cdefs.h>
__RCSID("$NetBSD: mkpar.c,v 1.4 2010/12/25 19:24:28 joerg Exp $");
__RCSID("$NetBSD: mkpar.c,v 1.5 2010/12/25 23:43:30 christos Exp $");
static action *add_reduce(action *actions, int ruleno, int symbol);
static action *add_reductions(int stateno, action *actions);

View File

@ -1,14 +1,10 @@
/* $NetBSD: output.c,v 1.6 2010/12/25 19:24:28 joerg Exp $ */
/* $NetBSD: output.c,v 1.7 2010/12/25 23:43:30 christos Exp $ */
/* Id: output.c,v 1.37 2010/11/27 17:28:29 tom Exp */
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#include "defs.h"
#include <sys/cdefs.h>
__RCSID("$NetBSD: output.c,v 1.6 2010/12/25 19:24:28 joerg Exp $");
#include "defs.h"
__RCSID("$NetBSD: output.c,v 1.7 2010/12/25 23:43:30 christos Exp $");
#define StaticOrR (rflag ? "" : "static ")
#define CountLine(fp) (!rflag || ((fp) == code_file))

View File

@ -1,14 +1,10 @@
/* $NetBSD: reader.c,v 1.5 2010/12/25 19:24:28 joerg Exp $ */
/* $NetBSD: reader.c,v 1.6 2010/12/25 23:43:30 christos Exp $ */
/* Id: reader.c,v 1.31 2010/11/26 12:30:40 tom Exp */
#include "defs.h"
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#include <sys/cdefs.h>
__RCSID("$NetBSD: reader.c,v 1.5 2010/12/25 19:24:28 joerg Exp $");
__RCSID("$NetBSD: reader.c,v 1.6 2010/12/25 23:43:30 christos Exp $");
/* The line size must be a positive integer. One hundred was chosen */
/* because few lines in Yacc input grammars exceed 100 characters. */

View File

@ -1,14 +1,10 @@
/* $NetBSD: skeleton.c,v 1.8 2010/12/25 19:24:28 joerg Exp $ */
/* $NetBSD: skeleton.c,v 1.9 2010/12/25 23:43:30 christos Exp $ */
/* Id: skeleton.c,v 1.27 2010/11/26 17:24:00 tom Exp */
#include "defs.h"
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#include <sys/cdefs.h>
__RCSID("$NetBSD: skeleton.c,v 1.8 2010/12/25 19:24:28 joerg Exp $");
__RCSID("$NetBSD: skeleton.c,v 1.9 2010/12/25 23:43:30 christos Exp $");
/* The definition of yysccsid in the banner should be replaced with */
/* a #pragma ident directive if the target C compiler supports */

View File

@ -1,14 +1,11 @@
/* $NetBSD: symtab.c,v 1.4 2010/12/25 19:24:28 joerg Exp $ */
/* $NetBSD: symtab.c,v 1.5 2010/12/25 23:43:30 christos Exp $ */
/* Id: symtab.c,v 1.9 2010/11/24 15:12:29 tom Exp */
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#include <sys/cdefs.h>
__RCSID("$NetBSD: symtab.c,v 1.4 2010/12/25 19:24:28 joerg Exp $");
#include "defs.h"
#include <sys/cdefs.h>
__RCSID("$NetBSD: symtab.c,v 1.5 2010/12/25 23:43:30 christos Exp $");
/* TABLE_SIZE is the number of entries in the symbol table. */
/* TABLE_SIZE must be a power of two. */

View File

@ -1,14 +1,10 @@
/* $NetBSD: verbose.c,v 1.4 2010/12/25 19:24:28 joerg Exp $ */
/* $NetBSD: verbose.c,v 1.5 2010/12/25 23:43:30 christos Exp $ */
/* Id: verbose.c,v 1.9 2010/06/09 08:58:29 tom Exp */
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#include "defs.h"
#include <sys/cdefs.h>
__RCSID("$NetBSD: verbose.c,v 1.4 2010/12/25 19:24:28 joerg Exp $");
#include "defs.h"
__RCSID("$NetBSD: verbose.c,v 1.5 2010/12/25 23:43:30 christos Exp $");
static void log_conflicts(void);
static void log_unused(void);

View File

@ -1,14 +1,10 @@
/* $NetBSD: warshall.c,v 1.4 2010/12/25 19:24:28 joerg Exp $ */
/* $NetBSD: warshall.c,v 1.5 2010/12/25 23:43:30 christos Exp $ */
/* Id: warshall.c,v 1.7 2010/06/06 22:48:51 tom Exp */
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#include "defs.h"
#include <sys/cdefs.h>
__RCSID("$NetBSD: warshall.c,v 1.4 2010/12/25 19:24:28 joerg Exp $");
#include "defs.h"
__RCSID("$NetBSD: warshall.c,v 1.5 2010/12/25 23:43:30 christos Exp $");
static void
transitive_closure(unsigned *R, int n)