database: DBTechInitPlane() consumer (DBPlaneLongNameTbl constify)

This commit is contained in:
Darryl L. Miles
2025-10-03 23:42:55 +01:00
parent eb72a3e6d2
commit e543075e50
4 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -45,7 +45,7 @@ HashTable DBTypeAliasTable;
/* Planes and their names */
int DBNumPlanes;
char *DBPlaneLongNameTbl[PL_MAXTYPES];
const char *DBPlaneLongNameTbl[PL_MAXTYPES];
NameList dbPlaneNameLists = {NULL, NULL, NULL, (ClientData)0, FALSE};
@@ -116,10 +116,10 @@ NameList *dbTechNameAddOne();
*/
void
DBTechInitPlane()
DBTechInitPlane(void)
{
DefaultPlane *dpp;
char *cp;
const char *cp;
/* Clear out any old information */
if (dbPlaneNameLists.sn_next != NULL)