mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-22 06:07:34 +02:00
Lookup() constify call-site
plow/PlowCmd.c: Lookup() constify call-site plot/plotVers.c: Lookup() constify call-site plot/plotMain.c: Lookup() constify call-site plot/plotCmd.c: Lookup() constify call-site netmenu/NMnetlist.c: Lookup() constify call-site netmenu/NMcmdLZ.c: Lookup() constify call-site netmenu/NMcmdAK.c: Lookup() constify call-site lef/lefTech.c: Lookup() constify call-site lef/lefCmd.c: Lookup() constify call-site irouter/irRoute.c: Lookup() constify call-site irouter/irCommand.c: Lookup() constify call-site router/rtrCmd.c: Lookup() constify call-site resis/ResRex.c: Lookup() constify call-site gcr/gcrShwFlgs.c: Lookup() constify call-site windows/windCmdSZ.c: Lookup() constify call-site
This commit is contained in:
committed by
Tim Edwards
parent
c2d533af3b
commit
3dbcb0759e
+4
-3
@@ -80,7 +80,8 @@ CmdLef(w, cmd)
|
||||
TxCommand *cmd;
|
||||
{
|
||||
int option, i, cargs, units = 1000; /* Default nanometers */
|
||||
char **msg, *namep;
|
||||
const char * const *msg;
|
||||
char *namep;
|
||||
CellUse *selectedUse;
|
||||
CellDef *selectedDef;
|
||||
bool is_lef;
|
||||
@@ -148,7 +149,7 @@ CmdLef(w, cmd)
|
||||
* sensible interpretation was possible.
|
||||
*/
|
||||
|
||||
static char *cmdLefOption[] =
|
||||
static const char * const cmdLefOption[] =
|
||||
{
|
||||
"read [filename] read a LEF file filename[.lef]\n"
|
||||
" read [filename] -import read a LEF file; import cells from .mag files\n"
|
||||
@@ -167,7 +168,7 @@ CmdLef(w, cmd)
|
||||
NULL
|
||||
};
|
||||
|
||||
static char *cmdDefOption[] =
|
||||
static const char * const cmdDefOption[] =
|
||||
{
|
||||
"read [filename] read a DEF file filename[.def]\n"
|
||||
" read [filename] -labels read a DEF file with net labeling\n"
|
||||
|
||||
+1
-1
@@ -213,7 +213,7 @@ LefTechLine(sectionName, argc, argv)
|
||||
TileTypeBitMask mmask;
|
||||
lefLayer *lefl, *newlefl;
|
||||
int i, option;
|
||||
static char *keywords[] = {
|
||||
static const char * const keywords[] = {
|
||||
"obstruction", "layer", "route", "routing", "masterslice",
|
||||
"cut", "contact", "overlap", "bound", "ignore", NULL
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user