Restore "defs.h", <sys/cdefs.h> #include ordering from before today's
update. Fixes tools build on, for instance, Linux hosts.
This commit is contained in:
parent
4b0d445835
commit
81488cfcef
8
external/bsd/byacc/dist/closure.c
vendored
8
external/bsd/byacc/dist/closure.c
vendored
@ -1,12 +1,12 @@
|
||||
/* $NetBSD: closure.c,v 1.10 2018/12/23 15:38:53 christos Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: closure.c,v 1.10 2018/12/23 15:38:53 christos Exp $");
|
||||
/* $NetBSD: closure.c,v 1.11 2018/12/23 20:27:23 jakllsch Exp $ */
|
||||
|
||||
/* Id: closure.c,v 1.11 2014/09/18 00:40:07 tom Exp */
|
||||
|
||||
#include "defs.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: closure.c,v 1.11 2018/12/23 20:27:23 jakllsch Exp $");
|
||||
|
||||
Value_t *itemset;
|
||||
Value_t *itemsetend;
|
||||
unsigned *ruleset;
|
||||
|
12
external/bsd/byacc/dist/error.c
vendored
12
external/bsd/byacc/dist/error.c
vendored
@ -1,14 +1,12 @@
|
||||
/* $NetBSD: error.c,v 1.13 2018/12/23 15:38:53 christos Exp $ */
|
||||
/* $NetBSD: error.c,v 1.14 2018/12/23 20:27:23 jakllsch Exp $ */
|
||||
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: error.c,v 1.13 2018/12/23 15:38:53 christos Exp $");
|
||||
|
||||
/* Id: error.c,v 1.14 2016/12/02 18:35:55 tom Exp */
|
||||
#include "defs.h"
|
||||
|
||||
/* routines for printing error messages */
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: error.c,v 1.14 2018/12/23 20:27:23 jakllsch Exp $");
|
||||
/* Id: error.c,v 1.14 2016/12/02 18:35:55 tom Exp */
|
||||
|
||||
/* routines for printing error messages */
|
||||
|
||||
__dead void
|
||||
fatal(const char *msg)
|
||||
|
7
external/bsd/byacc/dist/graph.c
vendored
7
external/bsd/byacc/dist/graph.c
vendored
@ -1,11 +1,10 @@
|
||||
/* $NetBSD: graph.c,v 1.7 2018/12/23 15:38:53 christos Exp $ */
|
||||
/* $NetBSD: graph.c,v 1.8 2018/12/23 20:27:23 jakllsch Exp $ */
|
||||
|
||||
#include "defs.h"
|
||||
/* Id: graph.c,v 1.8 2014/02/19 00:46:57 Tom.Shields Exp */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: graph.c,v 1.7 2018/12/23 15:38:53 christos Exp $");
|
||||
|
||||
#include "defs.h"
|
||||
__RCSID("$NetBSD: graph.c,v 1.8 2018/12/23 20:27:23 jakllsch Exp $");
|
||||
|
||||
static void graph_state(int stateno);
|
||||
static void graph_LA(int ruleno);
|
||||
|
10
external/bsd/byacc/dist/lalr.c
vendored
10
external/bsd/byacc/dist/lalr.c
vendored
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: lalr.c,v 1.9 2018/12/23 15:38:53 christos Exp $ */
|
||||
/* $NetBSD: lalr.c,v 1.10 2018/12/23 20:27:23 jakllsch Exp $ */
|
||||
|
||||
#include "defs.h"
|
||||
/* Id: lalr.c,v 1.12 2016/06/07 00:28:03 tom Exp */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: lalr.c,v 1.9 2018/12/23 15:38:53 christos Exp $");
|
||||
|
||||
/* Id: lalr.c,v 1.12 2016/06/07 00:28:03 tom Exp */
|
||||
#include "defs.h"
|
||||
__RCSID("$NetBSD: lalr.c,v 1.10 2018/12/23 20:27:23 jakllsch Exp $");
|
||||
|
||||
typedef struct shorts
|
||||
{
|
||||
|
8
external/bsd/byacc/dist/lr0.c
vendored
8
external/bsd/byacc/dist/lr0.c
vendored
@ -1,12 +1,12 @@
|
||||
/* $NetBSD: lr0.c,v 1.11 2018/12/23 15:38:53 christos Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: lr0.c,v 1.11 2018/12/23 15:38:53 christos Exp $");
|
||||
/* $NetBSD: lr0.c,v 1.12 2018/12/23 20:27:23 jakllsch Exp $ */
|
||||
|
||||
/* Id: lr0.c,v 1.19 2016/06/07 00:21:53 tom Exp */
|
||||
|
||||
#include "defs.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: lr0.c,v 1.12 2018/12/23 20:27:23 jakllsch Exp $");
|
||||
|
||||
static core *new_state(int symbol);
|
||||
static Value_t get_state(int symbol);
|
||||
static void allocate_itemsets(void);
|
||||
|
8
external/bsd/byacc/dist/main.c
vendored
8
external/bsd/byacc/dist/main.c
vendored
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: main.c,v 1.15 2018/12/23 15:38:53 christos Exp $ */
|
||||
/* $NetBSD: main.c,v 1.16 2018/12/23 20:27:23 jakllsch Exp $ */
|
||||
|
||||
#include "defs.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: main.c,v 1.15 2018/12/23 15:38:53 christos Exp $");
|
||||
|
||||
__RCSID("$NetBSD: main.c,v 1.16 2018/12/23 20:27:23 jakllsch Exp $");
|
||||
/* Id: main.c,v 1.61 2017/12/04 17:50:02 erik.b.andersen Exp */
|
||||
#include "defs.h"
|
||||
|
||||
#include <signal.h>
|
||||
#ifndef _WIN32
|
||||
|
8
external/bsd/byacc/dist/mkpar.c
vendored
8
external/bsd/byacc/dist/mkpar.c
vendored
@ -1,12 +1,12 @@
|
||||
/* $NetBSD: mkpar.c,v 1.11 2018/12/23 15:38:53 christos Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: mkpar.c,v 1.11 2018/12/23 15:38:53 christos Exp $");
|
||||
/* $NetBSD: mkpar.c,v 1.12 2018/12/23 20:27:23 jakllsch Exp $ */
|
||||
|
||||
/* Id: mkpar.c,v 1.15 2016/06/07 00:22:12 tom Exp */
|
||||
|
||||
#include "defs.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: mkpar.c,v 1.12 2018/12/23 20:27:23 jakllsch Exp $");
|
||||
|
||||
#define NotSuppressed(p) ((p)->suppressed == 0)
|
||||
|
||||
#if defined(YYBTYACC)
|
||||
|
8
external/bsd/byacc/dist/output.c
vendored
8
external/bsd/byacc/dist/output.c
vendored
@ -1,12 +1,12 @@
|
||||
/* $NetBSD: output.c,v 1.19 2018/12/23 15:38:53 christos Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: output.c,v 1.19 2018/12/23 15:38:53 christos Exp $");
|
||||
/* $NetBSD: output.c,v 1.20 2018/12/23 20:27:23 jakllsch Exp $ */
|
||||
|
||||
/* Id: output.c,v 1.87 2018/05/10 09:08:46 tom Exp */
|
||||
|
||||
#include "defs.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: output.c,v 1.20 2018/12/23 20:27:23 jakllsch Exp $");
|
||||
|
||||
#define StaticOrR (rflag ? "" : "static ")
|
||||
#define CountLine(fp) (!rflag || ((fp) == code_file))
|
||||
|
||||
|
8
external/bsd/byacc/dist/reader.c
vendored
8
external/bsd/byacc/dist/reader.c
vendored
@ -1,12 +1,12 @@
|
||||
/* $NetBSD: reader.c,v 1.15 2018/12/23 15:38:53 christos Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: reader.c,v 1.15 2018/12/23 15:38:53 christos Exp $");
|
||||
/* $NetBSD: reader.c,v 1.16 2018/12/23 20:27:23 jakllsch Exp $ */
|
||||
|
||||
/* Id: reader.c,v 1.74 2017/12/04 17:50:02 tom Exp */
|
||||
|
||||
#include "defs.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: reader.c,v 1.16 2018/12/23 20:27:23 jakllsch Exp $");
|
||||
|
||||
/* The line size must be a positive integer. One hundred was chosen */
|
||||
/* because few lines in Yacc input grammars exceed 100 characters. */
|
||||
/* Note that if a line exceeds LINESIZE characters, the line buffer */
|
||||
|
8
external/bsd/byacc/dist/symtab.c
vendored
8
external/bsd/byacc/dist/symtab.c
vendored
@ -1,12 +1,12 @@
|
||||
/* $NetBSD: symtab.c,v 1.10 2018/12/23 15:38:53 christos Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: symtab.c,v 1.10 2018/12/23 15:38:53 christos Exp $");
|
||||
/* $NetBSD: symtab.c,v 1.11 2018/12/23 20:27:23 jakllsch Exp $ */
|
||||
|
||||
/* Id: symtab.c,v 1.11 2014/03/26 00:17:09 Tom.Shields Exp */
|
||||
|
||||
#include "defs.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: symtab.c,v 1.11 2018/12/23 20:27:23 jakllsch Exp $");
|
||||
|
||||
/* TABLE_SIZE is the number of entries in the symbol table. */
|
||||
/* TABLE_SIZE must be a power of two. */
|
||||
|
||||
|
8
external/bsd/byacc/dist/verbose.c
vendored
8
external/bsd/byacc/dist/verbose.c
vendored
@ -1,12 +1,12 @@
|
||||
/* $NetBSD: verbose.c,v 1.11 2018/12/23 15:38:53 christos Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: verbose.c,v 1.11 2018/12/23 15:38:53 christos Exp $");
|
||||
/* $NetBSD: verbose.c,v 1.12 2018/12/23 20:27:23 jakllsch Exp $ */
|
||||
|
||||
/* Id: verbose.c,v 1.12 2016/06/07 00:22:05 tom Exp */
|
||||
|
||||
#include "defs.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: verbose.c,v 1.12 2018/12/23 20:27:23 jakllsch Exp $");
|
||||
|
||||
static void log_conflicts(void);
|
||||
static void log_unused(void);
|
||||
static void print_actions(int stateno);
|
||||
|
8
external/bsd/byacc/dist/warshall.c
vendored
8
external/bsd/byacc/dist/warshall.c
vendored
@ -1,12 +1,12 @@
|
||||
/* $NetBSD: warshall.c,v 1.9 2018/12/23 15:38:53 christos Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: warshall.c,v 1.9 2018/12/23 15:38:53 christos Exp $");
|
||||
/* $NetBSD: warshall.c,v 1.10 2018/12/23 20:27:23 jakllsch Exp $ */
|
||||
|
||||
/* Id: warshall.c,v 1.7 2010/06/06 22:48:51 tom Exp */
|
||||
|
||||
#include "defs.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: warshall.c,v 1.10 2018/12/23 20:27:23 jakllsch Exp $");
|
||||
|
||||
static void
|
||||
transitive_closure(unsigned *R, int n)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user