-/* $NetBSD: grammar.y,v 1.11 2014/03/22 22:09:14 dholland Exp $ */
+/* $NetBSD: grammar.y,v 1.12 2015/06/19 06:02:31 dholland Exp $ */
/*-
* Copyright (c) 1990, 1993
}
%{
-#include "include.h"
-
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)grammar.y 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: grammar.y,v 1.11 2014/03/22 22:09:14 dholland Exp $");
+__RCSID("$NetBSD: grammar.y,v 1.12 2015/06/19 06:02:31 dholland Exp $");
#endif
#endif /* not lint */
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "def.h"
+#include "struct.h"
+#include "extern.h"
+#include "tunable.h"
+
int line = 1;
static int errors = 0;
static int yyerror(const char *);
+static int checkdefs(void);
+static void check_point(int x, int y);
+static void check_edir(int x, int y, int dir);
+static void check_line(int px1, int py1, int px2, int py2);
+static void check_edge(int x, int y);
%}
%%