From c01fa9153f159246bdbb5ab2ac642a26e0daac16 Mon Sep 17 00:00:00 2001 From: rlar Date: Thu, 15 May 2014 18:40:13 +0200 Subject: [PATCH] subckt.c, #4/5 rename modnames --> new_modnames --- src/frontend/subckt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/subckt.c b/src/frontend/subckt.c index b07ab8e97..1c5b380c1 100644 --- a/src/frontend/subckt.c +++ b/src/frontend/subckt.c @@ -93,7 +93,7 @@ static int settrans(char *formal, char *actual, char *subname); static char *gettrans(const char *name, const char *name_end); static int numnodes(char *name, struct subs *subs, wordlist const *modnames); static int numdevs(char *s); -static wordlist *modtranslate(struct line *deck, char *subname, wordlist **const modnames); +static wordlist *modtranslate(struct line *deck, char *subname, wordlist **const new_modnames); static void devmodtranslate(struct line *deck, char *subname, wordlist * const orig_modnames); static int inp_numnodes(char c); @@ -1666,7 +1666,7 @@ numdevs(char *s) * modtranslate returns the list of model names which have been translated *----------------------------------------------------------------------*/ static wordlist * -modtranslate(struct line *c, char *subname, wordlist ** const modnames) +modtranslate(struct line *c, char *subname, wordlist ** const new_modnames) { wordlist *orig_modnames = NULL; @@ -1689,7 +1689,7 @@ modtranslate(struct line *c, char *subname, wordlist ** const modnames) /* remember the translation */ orig_modnames = wl_cons(model_name, orig_modnames); - *modnames = wl_cons(new_model_name, *modnames); + *new_modnames = wl_cons(new_model_name, *new_modnames); /* perform the actual translation of this .model line */ t = tprintf(".model %s %s", new_model_name, t);