lef: post K&R constify ripple

These functions are using data that is already const.
This commit is contained in:
Darryl L. Miles 2025-01-04 08:50:19 +00:00 committed by Tim Edwards
parent f7c550e82f
commit a1f7e4ed5e
2 changed files with 5 additions and 5 deletions

View File

@ -145,8 +145,8 @@ extern int lefDefInitFunc(CellDef *def);
extern int lefDefPushFunc(CellUse *use, bool *recurse);
extern FILE *lefFileOpen(CellDef *def, char *file, char *suffix, char *mode, char **prealfile);
extern int LefParseEndStatement(FILE *f, char *match);
extern void LefSkipSection(FILE *f, char *section);
extern int LefParseEndStatement(FILE *f, const char *match);
extern void LefSkipSection(FILE *f, const char *section);
extern void LefEndStatement(FILE *f);
extern CellDef *lefFindCell(char *name);
extern char *LefNextToken(FILE *f, bool ignore_eol);

View File

@ -458,7 +458,7 @@ LefError(int type, const char *fmt, ...)
int
LefParseEndStatement(f, match)
FILE *f;
char *match;
const char *match;
{
char *token;
int keyword, words;
@ -525,9 +525,9 @@ LefParseEndStatement(f, match)
void
LefSkipSection(f, section)
FILE *f;
char *section;
const char *section;
{
char *token;
const char *token;
int keyword, result;
static const char * const end_section[] = {
"END",