foxygit / doom Log in
commit 34174041c84540de27f4c3981be7ae5b2ca2c4b6
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Tue Sep 6 13:49:06 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Tue Nov 1 18:03:43 2022 +0200

    heretic: Add forward declaration of struct thinker_s
---
 src/heretic/doomdef.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/heretic/doomdef.h b/src/heretic/doomdef.h
index a5d51231..21b00ea0 100644
--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -127,6 +127,9 @@ typedef enum
 ===============================================================================
 */

+
+struct thinker_s;
+
 // think_t is a function pointer to a routine to handle an actor
 typedef void (*think_t) ();