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

This commit is contained in:
Darryl L. Miles 2025-08-25 11:16:55 +01:00 committed by R. Timothy Edwards
parent c8fe30398b
commit 6d8c3eee1a
2 changed files with 6 additions and 6 deletions

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)
{

View File

@ -773,7 +773,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();