database: DBTechAddPlane() constify API (const char*)
This commit is contained in:
parent
c8fe30398b
commit
6d8c3eee1a
|
|
@ -264,12 +264,12 @@ DBTechInitType()
|
||||||
|
|
||||||
/*ARGSUSED*/
|
/*ARGSUSED*/
|
||||||
bool
|
bool
|
||||||
DBTechAddPlane(sectionName, argc, argv)
|
DBTechAddPlane(
|
||||||
char *sectionName;
|
const char *sectionName,
|
||||||
int argc;
|
int argc,
|
||||||
char *argv[];
|
char *argv[])
|
||||||
{
|
{
|
||||||
char *cp;
|
const char *cp;
|
||||||
|
|
||||||
if (DBNumPlanes >= PL_MAXTYPES)
|
if (DBNumPlanes >= PL_MAXTYPES)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -773,7 +773,7 @@ extern void DBTechInit();
|
||||||
extern bool DBTechSetTech();
|
extern bool DBTechSetTech();
|
||||||
extern void DBTechInitVersion();
|
extern void DBTechInitVersion();
|
||||||
extern bool DBTechSetVersion();
|
extern bool DBTechSetVersion();
|
||||||
extern bool DBTechAddPlane();
|
extern bool DBTechAddPlane(const char *sectionName, int argc, char *argv[]);
|
||||||
extern bool DBTechAddType();
|
extern bool DBTechAddType();
|
||||||
extern bool DBTechAddAlias();
|
extern bool DBTechAddAlias();
|
||||||
extern void DBTechFinalType();
|
extern void DBTechFinalType();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue