foxygit / doom Log in
commit 31a49f4089fbdb88ced29d482bdcb039f6ca97f6
Author:     NY00123 <ny00@outlook.com>
AuthorDate: Tue Feb 20 21:38:53 2024 +0200
Commit:     Turo Lamminen <turol@users.noreply.github.com>
CommitDate: Wed Feb 21 16:00:03 2024 +0200

    doom/hexen/strife: Make gameversions structs const
---
 src/doom/d_main.c   | 2 +-
 src/hexen/h2_main.c | 2 +-
 src/strife/d_main.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/doom/d_main.c b/src/doom/d_main.c
index 525a5e59..8722bb05 100644
--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -972,7 +972,7 @@ void PrintDehackedBanners(void)
     }
 }

-static struct
+static const struct
 {
     const char *description;
     const char *cmdline;
diff --git a/src/hexen/h2_main.c b/src/hexen/h2_main.c
index f4c07231..0246e800 100644
--- a/src/hexen/h2_main.c
+++ b/src/hexen/h2_main.c
@@ -353,7 +353,7 @@ void D_SetGameDescription(void)
     }
 }

-static struct
+static const struct
 {
     const char *description;
     const char *cmdline;
diff --git a/src/strife/d_main.c b/src/strife/d_main.c
index cbff5975..277049f9 100644
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -1009,7 +1009,7 @@ void PrintDehackedBanners(void)
     }
 }

-static struct
+static const struct
 {
     const char *description;
     const char *cmdline;