ext2sim.c: constify string globals
This commit is contained in:
parent
dc2de91668
commit
82a57f8714
|
|
@ -73,18 +73,18 @@ extern bool esNoAttrs;
|
||||||
extern bool esHierAP;
|
extern bool esHierAP;
|
||||||
extern bool esMergeDevsA;
|
extern bool esMergeDevsA;
|
||||||
extern bool esMergeDevsC;
|
extern bool esMergeDevsC;
|
||||||
extern char esSpiceDefaultGnd[];
|
extern const char esSpiceDefaultGnd[];
|
||||||
extern char *esSpiceCapNode;
|
extern const char *esSpiceCapNode;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool esDoSimExtResis = FALSE;
|
bool esDoSimExtResis = FALSE;
|
||||||
bool esNoAlias = TRUE;
|
bool esNoAlias = TRUE;
|
||||||
bool esNoLabel = TRUE;
|
bool esNoLabel = TRUE;
|
||||||
char simesDefaultOut[FNSIZE];
|
char simesDefaultOut[FNSIZE];
|
||||||
char *simesOutName = simesDefaultOut;
|
const char *simesOutName = simesDefaultOut;
|
||||||
char esDefaultAlias[FNSIZE], esDefaultLabel[FNSIZE];
|
char esDefaultAlias[FNSIZE], esDefaultLabel[FNSIZE];
|
||||||
char *esAliasName = esDefaultAlias;
|
const char *esAliasName = esDefaultAlias;
|
||||||
char *esLabelName = esDefaultLabel;
|
const char *esLabelName = esDefaultLabel;
|
||||||
char esCapFormat[FNSIZE];
|
char esCapFormat[FNSIZE];
|
||||||
FILE *esSimF = NULL;
|
FILE *esSimF = NULL;
|
||||||
FILE *esAliasF = NULL;
|
FILE *esAliasF = NULL;
|
||||||
|
|
|
||||||
|
|
@ -58,8 +58,8 @@ bool esMergeNames = TRUE;
|
||||||
bool esNoAttrs = FALSE;
|
bool esNoAttrs = FALSE;
|
||||||
bool esHierAP = FALSE;
|
bool esHierAP = FALSE;
|
||||||
char spcesDefaultOut[FNSIZE];
|
char spcesDefaultOut[FNSIZE];
|
||||||
char *esSpiceCapNode;
|
const char *esSpiceCapNode;
|
||||||
char esSpiceDefaultGnd[] = "0";
|
const char esSpiceDefaultGnd[] = "0";
|
||||||
char *spcesOutName = spcesDefaultOut;
|
char *spcesOutName = spcesDefaultOut;
|
||||||
FILE *esSpiceF = NULL;
|
FILE *esSpiceF = NULL;
|
||||||
float esScale = -1.0 ; /* negative if hspice the EFScale/100 otherwise */
|
float esScale = -1.0 ; /* negative if hspice the EFScale/100 otherwise */
|
||||||
|
|
|
||||||
|
|
@ -65,8 +65,8 @@ extern bool esDevNodesOnly;
|
||||||
extern bool esNoAttrs;
|
extern bool esNoAttrs;
|
||||||
extern bool esHierAP;
|
extern bool esHierAP;
|
||||||
extern char spcesDefaultOut[FNSIZE];
|
extern char spcesDefaultOut[FNSIZE];
|
||||||
extern char *esSpiceCapNode;
|
extern const char *esSpiceCapNode;
|
||||||
extern char esSpiceDefaultGnd[];
|
extern const char esSpiceDefaultGnd[];
|
||||||
extern char *spcesOutName;
|
extern char *spcesOutName;
|
||||||
extern FILE *esSpiceF;
|
extern FILE *esSpiceF;
|
||||||
extern float esScale; /* negative if hspice the EFScale/100 otherwise */
|
extern float esScale; /* negative if hspice the EFScale/100 otherwise */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue