mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-30 01:48:43 +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
-4
@@ -52,7 +52,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||
/* remain in the following lists so that magic doesn't complain when */
|
||||
/* encountering these styles in the technology file. */
|
||||
|
||||
static char *plotStyles[] = /* Names of tech subsections. */
|
||||
static const char * const plotStyles[] = /* Names of tech subsections. */
|
||||
{
|
||||
"postscript",
|
||||
"pnm",
|
||||
@@ -64,7 +64,7 @@ static char *plotStyles[] = /* Names of tech subsections. */
|
||||
};
|
||||
|
||||
/* These names need to match the plot types enumerated in plotInt.h */
|
||||
static char *plotTypeNames[] =
|
||||
static const char * const plotTypeNames[] =
|
||||
{
|
||||
"versatec_color",
|
||||
"versatec_bw",
|
||||
@@ -384,8 +384,8 @@ PlotSetParam(name, value)
|
||||
char *value; /* New value for the parameter. */
|
||||
{
|
||||
int indx, i;
|
||||
static char *tfNames[] = { "false", "true", 0 };
|
||||
static char *paramNames[] =
|
||||
static const char * const tfNames[] = { "false", "true", 0 };
|
||||
static const char * const paramNames[] =
|
||||
{
|
||||
"showcellnames",
|
||||
"ps_cellidfont",
|
||||
|
||||
Reference in New Issue
Block a user