Correctly type the global char arrays in build.h as const (#1827)

Given that these arrays are typed as const in in build.c
(and in OOT's include/build.h), it seems logical to also type them as
const here.
This commit is contained in:
Gabriel Ravier
2025-11-09 15:12:50 +01:00
committed by GitHub
parent 7af068b2a2
commit 7e800791a1
2 changed files with 5 additions and 3 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
#ifndef BUILD_H
#define BUILD_H
extern char gBuildCreator[];
extern char gBuildDate[];
extern char gBuildMakeOption[];
extern const char gBuildCreator[];
extern const char gBuildDate[];
extern const char gBuildMakeOption[];
#endif
+2
View File
@@ -1,3 +1,5 @@
#include "build.h"
const char gBuildCreator[] = "zelda@srd44";
const char gBuildDate[] = "00-07-31 17:04:16";
const char gBuildMakeOption[] = "";