summaryrefslogtreecommitdiffstats
path: root/hacks/apple2-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/apple2-main.c')
-rw-r--r--hacks/apple2-main.c17
1 files changed, 5 insertions, 12 deletions
diff --git a/hacks/apple2-main.c b/hacks/apple2-main.c
index c30be1f..a87ea1a 100644
--- a/hacks/apple2-main.c
+++ b/hacks/apple2-main.c
@@ -1,4 +1,4 @@
-/* xscreensaver, Copyright (c) 1998-2014 Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 1998-2021 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
@@ -13,9 +13,10 @@
* Pty and vt100 emulation by Fredrik Tolf <fredrik@dolda2000.com>
*/
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif /* HAVE_CONFIG_H */
+#include "screenhack.h"
+#include "apple2.h"
+#include "textclient.h"
+#include "utf8wc.h"
#include <math.h>
#include <ctype.h>
@@ -24,14 +25,6 @@
# include <unistd.h>
#endif
-#include "screenhack.h"
-#include "apple2.h"
-#include "textclient.h"
-#include "utf8wc.h"
-
-#undef countof
-#define countof(x) (sizeof((x))/sizeof((*x)))
-
#define SCREEN_COLS 40
#define SCREEN_ROWS 24