database: DBTechAddPlane() constify API (const char*)

This commit is contained in:
Darryl L. Miles
2025-10-03 23:42:55 +01:00
parent e543075e50
commit 4de269763f
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -264,12 +264,12 @@ DBTechInitType()
/*ARGSUSED*/
bool
DBTechAddPlane(sectionName, argc, argv)
char *sectionName;
int argc;
char *argv[];
DBTechAddPlane(
const char *sectionName,
int argc,
char *argv[])
{
char *cp;
const char *cp;
if (DBNumPlanes >= PL_MAXTYPES)
{
+1 -1
View File
@@ -769,7 +769,7 @@ extern void DBTechInit();
extern bool DBTechSetTech();
extern void DBTechInitVersion();
extern bool DBTechSetVersion();
extern bool DBTechAddPlane();
extern bool DBTechAddPlane(const char *sectionName, int argc, char *argv[]);
extern bool DBTechAddType();
extern bool DBTechAddAlias();
extern void DBTechFinalType();