Jspice3
inpkmods.c
Go to the documentation of this file.
1 /***************************************************************************
2 JSPICE3 adaptation of Spice3e2 - Copyright (c) Stephen R. Whiteley 1992
3 Copyright 1990 Regents of the University of California. All rights reserved.
4 Authors: 1985 Thomas L. Quarles
5  1992 Stephen R. Whiteley
6 ****************************************************************************/
7 
8 #include "spice.h"
9 #include <stdio.h>
10 #include "inpdefs.h"
11 
12 extern INPmodel *modtab;
13 
14 
15 void
17 
18 {
19  INPmodel *modtmp, *next;
20 
21  for (modtmp = modtab; modtmp != (INPmodel *)NULL; modtmp = next) {
22  next = modtmp->INPnextModel;
23  txfree(modtmp);
24  }
25  modtab = (INPmodel *)NULL;
26 }
27 
INPmodel * modtab
Definition: inpmkmod.c:13
void txfree()
#define NULL
Definition: spdefs.h:121
struct sINPmodel * INPnextModel
Definition: inpdefs.h:74
void INPkillMods()
Definition: inpkmods.c:16