Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/byacc/dist Restore "defs.h", <sys/cdefs.h> #inc...
details: https://anonhg.NetBSD.org/src/rev/3af641ec187e
branches: trunk
changeset: 446880:3af641ec187e
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sun Dec 23 20:27:23 2018 +0000
description:
Restore "defs.h", <sys/cdefs.h> #include ordering from before today's
update. Fixes tools build on, for instance, Linux hosts.
diffstat:
external/bsd/byacc/dist/closure.c | 8 ++++----
external/bsd/byacc/dist/error.c | 8 +++-----
external/bsd/byacc/dist/graph.c | 7 +++----
external/bsd/byacc/dist/lalr.c | 10 +++++-----
external/bsd/byacc/dist/lr0.c | 8 ++++----
external/bsd/byacc/dist/main.c | 8 ++++----
external/bsd/byacc/dist/mkpar.c | 8 ++++----
external/bsd/byacc/dist/output.c | 8 ++++----
external/bsd/byacc/dist/reader.c | 8 ++++----
external/bsd/byacc/dist/symtab.c | 8 ++++----
external/bsd/byacc/dist/verbose.c | 8 ++++----
external/bsd/byacc/dist/warshall.c | 8 ++++----
12 files changed, 47 insertions(+), 50 deletions(-)
diffs (237 lines):
diff -r c02812b67f17 -r 3af641ec187e external/bsd/byacc/dist/closure.c
--- a/external/bsd/byacc/dist/closure.c Sun Dec 23 19:16:43 2018 +0000
+++ b/external/bsd/byacc/dist/closure.c Sun Dec 23 20:27:23 2018 +0000
@@ -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;
diff -r c02812b67f17 -r 3af641ec187e external/bsd/byacc/dist/error.c
--- a/external/bsd/byacc/dist/error.c Sun Dec 23 19:16:43 2018 +0000
+++ b/external/bsd/byacc/dist/error.c Sun Dec 23 20:27:23 2018 +0000
@@ -1,15 +1,13 @@
-/* $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 "defs.h"
#include <sys/cdefs.h>
-__RCSID("$NetBSD: error.c,v 1.13 2018/12/23 15:38:53 christos Exp $");
-
+__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 */
-#include "defs.h"
/* routines for printing error messages */
-
__dead void
fatal(const char *msg)
{
diff -r c02812b67f17 -r 3af641ec187e external/bsd/byacc/dist/graph.c
--- a/external/bsd/byacc/dist/graph.c Sun Dec 23 19:16:43 2018 +0000
+++ b/external/bsd/byacc/dist/graph.c Sun Dec 23 20:27:23 2018 +0000
@@ -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);
diff -r c02812b67f17 -r 3af641ec187e external/bsd/byacc/dist/lalr.c
--- a/external/bsd/byacc/dist/lalr.c Sun Dec 23 19:16:43 2018 +0000
+++ b/external/bsd/byacc/dist/lalr.c Sun Dec 23 20:27:23 2018 +0000
@@ -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
{
diff -r c02812b67f17 -r 3af641ec187e external/bsd/byacc/dist/lr0.c
--- a/external/bsd/byacc/dist/lr0.c Sun Dec 23 19:16:43 2018 +0000
+++ b/external/bsd/byacc/dist/lr0.c Sun Dec 23 20:27:23 2018 +0000
@@ -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);
diff -r c02812b67f17 -r 3af641ec187e external/bsd/byacc/dist/main.c
--- a/external/bsd/byacc/dist/main.c Sun Dec 23 19:16:43 2018 +0000
+++ b/external/bsd/byacc/dist/main.c Sun Dec 23 20:27:23 2018 +0000
@@ -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
diff -r c02812b67f17 -r 3af641ec187e external/bsd/byacc/dist/mkpar.c
--- a/external/bsd/byacc/dist/mkpar.c Sun Dec 23 19:16:43 2018 +0000
+++ b/external/bsd/byacc/dist/mkpar.c Sun Dec 23 20:27:23 2018 +0000
@@ -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)
diff -r c02812b67f17 -r 3af641ec187e external/bsd/byacc/dist/output.c
--- a/external/bsd/byacc/dist/output.c Sun Dec 23 19:16:43 2018 +0000
+++ b/external/bsd/byacc/dist/output.c Sun Dec 23 20:27:23 2018 +0000
@@ -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))
diff -r c02812b67f17 -r 3af641ec187e external/bsd/byacc/dist/reader.c
--- a/external/bsd/byacc/dist/reader.c Sun Dec 23 19:16:43 2018 +0000
+++ b/external/bsd/byacc/dist/reader.c Sun Dec 23 20:27:23 2018 +0000
@@ -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 */
diff -r c02812b67f17 -r 3af641ec187e external/bsd/byacc/dist/symtab.c
--- a/external/bsd/byacc/dist/symtab.c Sun Dec 23 19:16:43 2018 +0000
+++ b/external/bsd/byacc/dist/symtab.c Sun Dec 23 20:27:23 2018 +0000
@@ -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. */
diff -r c02812b67f17 -r 3af641ec187e external/bsd/byacc/dist/verbose.c
--- a/external/bsd/byacc/dist/verbose.c Sun Dec 23 19:16:43 2018 +0000
+++ b/external/bsd/byacc/dist/verbose.c Sun Dec 23 20:27:23 2018 +0000
@@ -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);
diff -r c02812b67f17 -r 3af641ec187e external/bsd/byacc/dist/warshall.c
--- a/external/bsd/byacc/dist/warshall.c Sun Dec 23 19:16:43 2018 +0000
+++ b/external/bsd/byacc/dist/warshall.c Sun Dec 23 20:27:23 2018 +0000
@@ -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)
{
Home |
Main Index |
Thread Index |
Old Index