not exactly the same
This commit is contained in:
parent
46b971aef9
commit
435a32152d
|
|
@ -1839,11 +1839,11 @@ set_tlist(struct circ *curckt)
|
|||
|
||||
/* remove the actual modtlist and devtlist */
|
||||
void
|
||||
rem_tlist(void)
|
||||
rem_tlist(struct circ *circ)
|
||||
{
|
||||
struct pt_temper *p;
|
||||
|
||||
for (p = devtlist; p;) {
|
||||
for (p = circ->devtlist; p;) {
|
||||
struct pt_temper *next_p = p->next;
|
||||
tfree(p->expression);
|
||||
wl_free(p->wl);
|
||||
|
|
@ -1851,7 +1851,7 @@ rem_tlist(void)
|
|||
tfree(p);
|
||||
p = next_p;
|
||||
}
|
||||
for (p = modtlist; p;) {
|
||||
for (p = circ->modtlist; p;) {
|
||||
struct pt_temper *next_p = p->next;
|
||||
tfree(p->expression);
|
||||
wl_free(p->wl);
|
||||
|
|
|
|||
|
|
@ -259,7 +259,7 @@ com_remcirc(wordlist *wl)
|
|||
tfree(ft_curckt->ci_name);
|
||||
if (ft_curckt->ci_filename)
|
||||
tfree(ft_curckt->ci_filename);
|
||||
rem_tlist();
|
||||
rem_tlist(ft_curckt);
|
||||
|
||||
/* delete the actual circuit entry from ft_circuits */
|
||||
for (p = ft_circuits; p; p = p->ci_next) {
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ void eval_seed_opt(struct line *deck);
|
|||
|
||||
extern char** circarray;
|
||||
extern void set_tlist(struct circ *curckt);
|
||||
extern void rem_tlist(void);
|
||||
extern void rem_tlist(struct circ *curckt);
|
||||
|
||||
/* nutinp.c */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue