summaryrefslogtreecommitdiff
path: root/src/i_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i_main.c')
-rw-r--r--src/i_main.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/i_main.c b/src/i_main.c
index c103296b..d7cdcef6 100644
--- a/src/i_main.c
+++ b/src/i_main.c
@@ -41,10 +41,17 @@
#include <sched.h>
#endif
-#include "doomdef.h"
+#include "doomtype.h"
#include "i_system.h"
#include "m_argv.h"
-#include "d_main.h"
+
+//
+// D_DoomMain()
+// Not a globally visible function, just included for source reference,
+// calls all startup code, parses command line options.
+//
+
+void D_DoomMain (void);
#if !defined(_WIN32) && !defined(HAVE_SCHED_SETAFFINITY)
#warning No known way to set processor affinity on this platform.
@@ -69,7 +76,6 @@ int main(int argc, char **argv)
fprintf(stderr, "Failed to set process affinity mask (%d)\n",
(int) GetLastError());
}
-
#endif
#ifdef HAVE_SCHED_SETAFFINITY