foxygit / doom Log in
commit 9ad7b281f19e3a95b46c4a212250b5d8b3be3da2
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Wed Sep 7 14:43:11 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Tue Sep 27 14:04:16 2022 +0300

    deh: Move extern declarations to deh_defs.h
---
 src/deh_defs.h | 5 +++++
 src/deh_main.c | 2 --
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/deh_defs.h b/src/deh_defs.h
index a9b29ef1..88c1e91f 100644
--- a/src/deh_defs.h
+++ b/src/deh_defs.h
@@ -54,6 +54,11 @@ struct deh_section_s
     deh_sha1_hash_t sha1_hash;
 };

+
+extern deh_section_t *deh_section_types[];
+extern const char *deh_signatures[];
+
+
 #endif /* #ifndef DEH_DEFS_H */


diff --git a/src/deh_main.c b/src/deh_main.c
index d2721969..45e35516 100644
--- a/src/deh_main.c
+++ b/src/deh_main.c
@@ -31,8 +31,6 @@
 #include "deh_io.h"
 #include "deh_main.h"

-extern deh_section_t *deh_section_types[];
-extern const char *deh_signatures[];

 static boolean deh_initialized = false;