summaryrefslogtreecommitdiffstats
path: root/phantasia/setup.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-05-27 17:44:38 +0000
committerdholland <dholland@NetBSD.org>2009-05-27 17:44:38 +0000
commit1108b046f041c0bf0be042f6fd91eb2b7dae7af1 (patch)
treee788191dcb8d68ff4b62903e2b5aedd007bbce4b /phantasia/setup.c
parentbf84fce58d5914864c13639d82650dfa8e886018 (diff)
downloadbsdgames-darwin-1108b046f041c0bf0be042f6fd91eb2b7dae7af1.tar.gz
bsdgames-darwin-1108b046f041c0bf0be042f6fd91eb2b7dae7af1.tar.zst
bsdgames-darwin-1108b046f041c0bf0be042f6fd91eb2b7dae7af1.zip
Rearrange where the alternate definition of __dead goes.
It can't be before "include.h" as that includes a bunch of system headers, but it can't be after either as it also includes a bunch of local headers. Therefore, it needs to be *in* include.h.
Diffstat (limited to 'phantasia/setup.c')
-rw-r--r--phantasia/setup.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/phantasia/setup.c b/phantasia/setup.c
index 1d5f9514..bdb9f74b 100644
--- a/phantasia/setup.c
+++ b/phantasia/setup.c
@@ -1,4 +1,4 @@
-/* $NetBSD: setup.c,v 1.19 2009/05/25 23:08:45 dholland Exp $ */
+/* $NetBSD: setup.c,v 1.20 2009/05/27 17:44:38 dholland Exp $ */
/*
* setup.c - set up all files for Phantasia
@@ -13,10 +13,6 @@
#include <fcntl.h>
#include "include.h"
-#ifndef __dead /* Not NetBSD */
-#define __dead
-#endif
-
int main(int, char *[]);
void Error(const char *, const char *) __dead;
double drandom(void);