mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +02:00
database: DBTechAddPlane() constify API (const char*)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user