database: DBTechAddPlane() constify API (const char*)
This commit is contained in:
parent
c8fe30398b
commit
6d8c3eee1a
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue