summaryrefslogtreecommitdiffstats
path: root/atc/main.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2015-06-19 06:02:31 +0000
committerdholland <dholland@NetBSD.org>2015-06-19 06:02:31 +0000
commitcbfa4e0150e45039bfd90790eea6dca891ce4af6 (patch)
treec8a1a0deb0dd9a08bac07eb2b7d7b5bfafd94618 /atc/main.c
parent413d3917bba156144bdab0cbc8763bf8d4fcedb3 (diff)
downloadbsdgames-darwin-cbfa4e0150e45039bfd90790eea6dca891ce4af6.tar.gz
bsdgames-darwin-cbfa4e0150e45039bfd90790eea6dca891ce4af6.tar.zst
bsdgames-darwin-cbfa4e0150e45039bfd90790eea6dca891ce4af6.zip
Abolish the foul practice of including every header in existence via a
single central "include.h". Use only headers that are actually needed.
Diffstat (limited to 'atc/main.c')
-rw-r--r--atc/main.c17
1 files changed, 14 insertions, 3 deletions
diff --git a/atc/main.c b/atc/main.c
index 7f4444fb..07316615 100644
--- a/atc/main.c
+++ b/atc/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.22 2014/03/22 22:58:56 dholland Exp $ */
+/* $NetBSD: main.c,v 1.23 2015/06/19 06:02:31 dholland Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -51,12 +51,23 @@ __COPYRIGHT("@(#) Copyright (c) 1990, 1993\
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: main.c,v 1.22 2014/03/22 22:58:56 dholland Exp $");
+__RCSID("$NetBSD: main.c,v 1.23 2015/06/19 06:02:31 dholland Exp $");
#endif
#endif /* not lint */
-#include "include.h"
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <signal.h>
+#include <termios.h>
+#include <getopt.h>
+#include <err.h>
+
#include "pathnames.h"
+#include "def.h"
+#include "struct.h"
+#include "extern.h"
+#include "tunable.h"
extern FILE *yyin;