shithub: choc

Download patch

ref: 21599058db1a007755c54a6faca2f8e0c74eda6d
parent: e6204ca1d6ec73bf21d277f41c92b38a2219f826
author: Turo Lamminen <turol@iki.fi>
date: Fri Sep 9 11:51:14 EDT 2022

heretic: Move D_StartTitle prototype to doomdef.h

--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -602,6 +602,9 @@
 // calls all ?_Responder, ?_Ticker, and ?_Drawer functions
 // calls I_GetTime, I_StartFrame, and I_StartTic
 
+void D_StartTitle(void);
+
+
 //---------
 //SYSTEM IO
 //---------
--- a/src/heretic/f_finale.c
+++ b/src/heretic/f_finale.c
@@ -38,7 +38,6 @@
 
 extern boolean viewactive;
 
-extern void D_StartTitle(void);
 
 /*
 =======================
--- a/src/heretic/mn_menu.c
+++ b/src/heretic/mn_menu.c
@@ -1044,7 +1044,6 @@
     int key;
     int i;
     MenuItem_t *item;
-    extern void D_StartTitle(void);
     extern void G_CheckDemoStatus(void);
     char *textBuffer;