foxygit / doom Log in
commit 144441ba142529b7ec5126398d8937a100a8f986
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 17 16:47:28 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Wed Sep 28 11:13:50 2022 +0300

    strife: Move hu_font extern declaration to hu_stuff.h
---
 src/strife/f_finale.c | 1 -
 src/strife/hu_stuff.h | 2 ++
 src/strife/m_menu.c   | 1 -
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/strife/f_finale.c b/src/strife/f_finale.c
index b331ae24..a6d13993 100644
--- a/src/strife/f_finale.c
+++ b/src/strife/f_finale.c
@@ -518,7 +518,6 @@ void F_Ticker (void)
 // haleyjd 09/13/10: Not present in Strife: Cast drawing functions

 #include "hu_stuff.h"
-extern	patch_t *hu_font[HU_FONTSIZE];

 /*
 //
diff --git a/src/strife/hu_stuff.h b/src/strife/hu_stuff.h
index 0a241f69..784aa46e 100644
--- a/src/strife/hu_stuff.h
+++ b/src/strife/hu_stuff.h
@@ -63,6 +63,8 @@ extern const char *mapnames[];

 // [STRIFE]
 extern patch_t* yfont[HU_FONTSIZE];   // haleyjd 09/18/10: [STRIFE]
+extern patch_t *hu_font[HU_FONTSIZE];
+

 #endif

diff --git a/src/strife/m_menu.c b/src/strife/m_menu.c
index 443bc119..b2c7f98a 100644
--- a/src/strife/m_menu.c
+++ b/src/strife/m_menu.c
@@ -64,7 +64,6 @@

 extern void M_QuitStrife(int);

-extern patch_t*         hu_font[HU_FONTSIZE];
 extern boolean          message_dontfuckwithme;

 extern boolean          chat_on;        // in heads-up code