diff --git a/src/spicelib/devices/asrc/Makefile.am b/src/spicelib/devices/asrc/Makefile.am
index 01f292d21..11b2b2701 100644
--- a/src/spicelib/devices/asrc/Makefile.am
+++ b/src/spicelib/devices/asrc/Makefile.am
@@ -16,7 +16,6 @@ libasrc_la_SOURCES = \
asrcinit.c \
asrcinit.h \
asrcload.c \
- asrcmdel.c \
asrcpar.c \
asrcpzld.c \
asrcset.c \
diff --git a/src/spicelib/devices/asrc/asrcext.h b/src/spicelib/devices/asrc/asrcext.h
index c76065393..70e430b4c 100644
--- a/src/spicelib/devices/asrc/asrcext.h
+++ b/src/spicelib/devices/asrc/asrcext.h
@@ -9,7 +9,6 @@ extern int ASRCdelete(GENinstance *);
extern void ASRCdestroy(void);
extern int ASRCfindBr(CKTcircuit *, GENmodel *, IFuid);
extern int ASRCload(GENmodel *, CKTcircuit *);
-extern int ASRCmDelete(GENmodel *);
extern int ASRCparam(int, IFvalue *, GENinstance *, IFvalue *);
extern int ASRCpzLoad(GENmodel *, CKTcircuit *, SPcomplex *);
extern int ASRCacLoad(GENmodel *, CKTcircuit *);
diff --git a/src/spicelib/devices/asrc/asrcinit.c b/src/spicelib/devices/asrc/asrcinit.c
index ab1a23c77..4c0797c7d 100644
--- a/src/spicelib/devices/asrc/asrcinit.c
+++ b/src/spicelib/devices/asrc/asrcinit.c
@@ -43,7 +43,7 @@ SPICEdev ASRCinfo = {
.DEVacLoad = ASRCacLoad,
.DEVaccept = NULL,
.DEVdestroy = ASRCdestroy,
- .DEVmodDelete = ASRCmDelete,
+ .DEVmodDelete = NULL,
.DEVdelete = ASRCdelete,
.DEVsetic = NULL,
.DEVask = ASRCask,
diff --git a/src/spicelib/devices/asrc/asrcmdel.c b/src/spicelib/devices/asrc/asrcmdel.c
deleted file mode 100644
index 16cbe36f4..000000000
--- a/src/spicelib/devices/asrc/asrcmdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1987 Kanwar Jit Singh
-**********/
-
-#include "ngspice/ngspice.h"
-#include "asrcdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-ASRCmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/bjt/Makefile.am b/src/spicelib/devices/bjt/Makefile.am
index 47aa59d69..aa151c1a3 100644
--- a/src/spicelib/devices/bjt/Makefile.am
+++ b/src/spicelib/devices/bjt/Makefile.am
@@ -9,7 +9,6 @@ libbjt_la_SOURCES = \
bjtconv.c \
bjtdefs.h \
bjtdel.c \
- bjtdest.c \
bjtdisto.c \
bjtdset.c \
bjtdset.h \
@@ -20,7 +19,6 @@ libbjt_la_SOURCES = \
bjtitf.h \
bjtload.c \
bjtmask.c \
- bjtmdel.c \
bjtmpar.c \
bjtnoise.c \
bjtparam.c \
diff --git a/src/spicelib/devices/bjt/bjtdest.c b/src/spicelib/devices/bjt/bjtdest.c
deleted file mode 100644
index f308c6787..000000000
--- a/src/spicelib/devices/bjt/bjtdest.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-/*
- * This routine deletes all BJTs from the circuit and frees
- * all storage they were using.
- */
-
-#include "ngspice/ngspice.h"
-#include "bjtdefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-BJTdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/bjt/bjtext.h b/src/spicelib/devices/bjt/bjtext.h
index 39703b3b7..708826477 100644
--- a/src/spicelib/devices/bjt/bjtext.h
+++ b/src/spicelib/devices/bjt/bjtext.h
@@ -11,11 +11,9 @@ extern int BJTacLoad(GENmodel *,CKTcircuit*);
extern int BJTask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int BJTconvTest(GENmodel*,CKTcircuit*);
extern int BJTdelete(GENinstance*);
-extern void BJTdestroy(void);
extern int BJTgetic(GENmodel*,CKTcircuit*);
extern int BJTload(GENmodel*,CKTcircuit*);
extern int BJTmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
-extern int BJTmDelete(GENmodel*);
extern int BJTmParam(int,IFvalue*,GENmodel*);
extern int BJTparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int BJTpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
diff --git a/src/spicelib/devices/bjt/bjtinit.c b/src/spicelib/devices/bjt/bjtinit.c
index aded3c9d2..8bc7abaf6 100644
--- a/src/spicelib/devices/bjt/bjtinit.c
+++ b/src/spicelib/devices/bjt/bjtinit.c
@@ -42,8 +42,8 @@ SPICEdev BJTinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = BJTacLoad,
.DEVaccept = NULL,
- .DEVdestroy = BJTdestroy,
- .DEVmodDelete = BJTmDelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
.DEVdelete = BJTdelete,
.DEVsetic = BJTgetic,
.DEVask = BJTask,
diff --git a/src/spicelib/devices/bjt/bjtmdel.c b/src/spicelib/devices/bjt/bjtmdel.c
deleted file mode 100644
index 6d8bbdb23..000000000
--- a/src/spicelib/devices/bjt/bjtmdel.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-/*
- * This routine deletes a BJT model from the circuit and frees
- * the storage it was using.
- * returns an error if the model has instances
- */
-
-#include "ngspice/ngspice.h"
-#include "bjtdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-BJTmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim1/Makefile.am b/src/spicelib/devices/bsim1/Makefile.am
index da088cf5b..59c023395 100644
--- a/src/spicelib/devices/bsim1/Makefile.am
+++ b/src/spicelib/devices/bsim1/Makefile.am
@@ -7,15 +7,12 @@ libbsim1_la_SOURCES = \
b1acld.c \
b1ask.c \
b1cvtest.c \
- b1del.c \
- b1dest.c \
b1disto.c \
b1dset.c \
b1eval.c \
b1getic.c \
b1ld.c \
b1mask.c \
- b1mdel.c \
b1moscap.c \
b1mpar.c \
b1par.c \
diff --git a/src/spicelib/devices/bsim1/b1del.c b/src/spicelib/devices/bsim1/b1del.c
deleted file mode 100644
index 53f4e57d1..000000000
--- a/src/spicelib/devices/bsim1/b1del.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Hong J. Park, Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "bsim1def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/gendefs.h"
-#include "ngspice/suffix.h"
-
-
-int
-B1delete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim1/b1dest.c b/src/spicelib/devices/bsim1/b1dest.c
deleted file mode 100644
index be7f72943..000000000
--- a/src/spicelib/devices/bsim1/b1dest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Hong J. Park, Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "bsim1def.h"
-#include "ngspice/suffix.h"
-
-
-void
-B1destroy(void)
-{
-}
diff --git a/src/spicelib/devices/bsim1/b1mdel.c b/src/spicelib/devices/bsim1/b1mdel.c
deleted file mode 100644
index 3969637a7..000000000
--- a/src/spicelib/devices/bsim1/b1mdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Hong J. Park, Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "bsim1def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-B1mDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim1/bsim1ext.h b/src/spicelib/devices/bsim1/bsim1ext.h
index e1999c606..bf13eba8b 100644
--- a/src/spicelib/devices/bsim1/bsim1ext.h
+++ b/src/spicelib/devices/bsim1/bsim1ext.h
@@ -8,12 +8,9 @@ Modified: 2000 AlansFixes
extern int B1acLoad(GENmodel *,CKTcircuit*);
extern int B1ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int B1convTest(GENmodel *,CKTcircuit*);
-extern int B1delete(GENinstance*);
-extern void B1destroy(void);
extern int B1getic(GENmodel*,CKTcircuit*);
extern int B1load(GENmodel*,CKTcircuit*);
extern int B1mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
-extern int B1mDelete(GENmodel*);
extern int B1mParam(int,IFvalue*,GENmodel*);
extern void B1mosCap(CKTcircuit*, double, double, double, double*,
double, double, double, double, double, double,
diff --git a/src/spicelib/devices/bsim1/bsim1init.c b/src/spicelib/devices/bsim1/bsim1init.c
index 416455477..2acf4d164 100644
--- a/src/spicelib/devices/bsim1/bsim1init.c
+++ b/src/spicelib/devices/bsim1/bsim1init.c
@@ -42,9 +42,9 @@ SPICEdev B1info = {
.DEVfindBranch = NULL,
.DEVacLoad = B1acLoad,
.DEVaccept = NULL,
- .DEVdestroy = B1destroy,
- .DEVmodDelete = B1mDelete,
- .DEVdelete = B1delete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = B1getic,
.DEVask = B1ask,
.DEVmodAsk = B1mAsk,
diff --git a/src/spicelib/devices/bsim2/Makefile.am b/src/spicelib/devices/bsim2/Makefile.am
index ea8ae9855..7de50ac10 100644
--- a/src/spicelib/devices/bsim2/Makefile.am
+++ b/src/spicelib/devices/bsim2/Makefile.am
@@ -7,13 +7,10 @@ libbsim2_la_SOURCES = \
b2acld.c \
b2ask.c \
b2cvtest.c \
- b2del.c \
- b2dest.c \
b2eval.c \
b2getic.c \
b2ld.c \
b2mask.c \
- b2mdel.c \
b2moscap.c \
b2mpar.c \
b2noi.c \
diff --git a/src/spicelib/devices/bsim2/b2del.c b/src/spicelib/devices/bsim2/b2del.c
deleted file mode 100644
index 9eb62f373..000000000
--- a/src/spicelib/devices/bsim2/b2del.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Hong J. Park, Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "bsim2def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/gendefs.h"
-#include "ngspice/suffix.h"
-
-
-int
-B2delete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim2/b2dest.c b/src/spicelib/devices/bsim2/b2dest.c
deleted file mode 100644
index bc4e7ea0a..000000000
--- a/src/spicelib/devices/bsim2/b2dest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Hong J. Park, Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "bsim2def.h"
-#include "ngspice/suffix.h"
-
-
-void
-B2destroy(void)
-{
-}
diff --git a/src/spicelib/devices/bsim2/b2mdel.c b/src/spicelib/devices/bsim2/b2mdel.c
deleted file mode 100644
index 2cf186a9a..000000000
--- a/src/spicelib/devices/bsim2/b2mdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Hong J. Park, Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "bsim2def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-B2mDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim2/bsim2ext.h b/src/spicelib/devices/bsim2/bsim2ext.h
index 337db65ae..0787e7507 100644
--- a/src/spicelib/devices/bsim2/bsim2ext.h
+++ b/src/spicelib/devices/bsim2/bsim2ext.h
@@ -6,12 +6,9 @@ Author: 1988 Min-Chie Jeng, Hong June Park, Thomas L. Quarles
extern int B2acLoad(GENmodel *,CKTcircuit*);
extern int B2ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int B2convTest(GENmodel *,CKTcircuit*);
-extern int B2delete(GENinstance*);
-extern void B2destroy(void);
extern int B2getic(GENmodel*,CKTcircuit*);
extern int B2load(GENmodel*,CKTcircuit*);
extern int B2mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
-extern int B2mDelete(GENmodel*);
extern int B2mParam(int,IFvalue*,GENmodel*);
extern void B2mosCap(CKTcircuit*, double, double, double, double*,
double, double, double, double, double, double,
diff --git a/src/spicelib/devices/bsim2/bsim2init.c b/src/spicelib/devices/bsim2/bsim2init.c
index 168a80e4b..d1922ae84 100644
--- a/src/spicelib/devices/bsim2/bsim2init.c
+++ b/src/spicelib/devices/bsim2/bsim2init.c
@@ -42,9 +42,9 @@ SPICEdev B2info = {
.DEVfindBranch = NULL,
.DEVacLoad = B2acLoad,
.DEVaccept = NULL,
- .DEVdestroy = B2destroy,
- .DEVmodDelete = B2mDelete,
- .DEVdelete = B2delete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = B2getic,
.DEVask = B2ask,
.DEVmodAsk = B2mAsk,
diff --git a/src/spicelib/devices/bsim3/Makefile.am b/src/spicelib/devices/bsim3/Makefile.am
index 2489d1e5a..92f8364c4 100644
--- a/src/spicelib/devices/bsim3/Makefile.am
+++ b/src/spicelib/devices/bsim3/Makefile.am
@@ -8,8 +8,6 @@ libbsim3_la_SOURCES = \
b3ask.c \
b3check.c \
b3cvtest.c \
- b3del.c \
- b3dest.c \
b3getic.c \
b3ld.c \
b3mask.c \
diff --git a/src/spicelib/devices/bsim3/b3del.c b/src/spicelib/devices/bsim3/b3del.c
deleted file mode 100644
index 780c0c8a4..000000000
--- a/src/spicelib/devices/bsim3/b3del.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/**** BSIM3v3.3.0, Released by Xuemei Xi 07/29/2005 ****/
-
-/**********
- * Copyright 2004 Regents of the University of California. All rights reserved.
- * File: b3del.c of BSIM3v3.3.0
- * Author: 1995 Min-Chie Jeng and Mansun Chan
- * Author: 1997-1999 Weidong Liu.
- * Author: 2001 Xuemei Xi
- * Modified by Xuemei Xi, 10/05, 12/14, 2001.
- **********/
-
-#include "ngspice/ngspice.h"
-#include "bsim3def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/gendefs.h"
-#include "ngspice/suffix.h"
-
-
-int
-BSIM3delete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim3/b3dest.c b/src/spicelib/devices/bsim3/b3dest.c
deleted file mode 100644
index 5be833512..000000000
--- a/src/spicelib/devices/bsim3/b3dest.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/**** BSIM3v3.3.0, Released by Xuemei Xi 07/29/2005 ****/
-
-/**********
- * Copyright 2004 Regents of the University of California. All rights reserved.
- * File: b3dest.c of BSIM3v3.3.0
- * Author: 1995 Min-Chie Jeng and Mansun Chan.
- * Author: 1997-1999 Weidong Liu.
- * Author: 2001 Xuemei Xi
- **********/
-
-#include "ngspice/ngspice.h"
-#include "bsim3def.h"
-#include "ngspice/suffix.h"
-
-
-void
-BSIM3destroy(void)
-{
-}
diff --git a/src/spicelib/devices/bsim3/bsim3ext.h b/src/spicelib/devices/bsim3/bsim3ext.h
index 0c03e8be5..4bd136d1f 100644
--- a/src/spicelib/devices/bsim3/bsim3ext.h
+++ b/src/spicelib/devices/bsim3/bsim3ext.h
@@ -8,8 +8,6 @@ File: bsim3ext.h
extern int BSIM3acLoad(GENmodel *,CKTcircuit*);
extern int BSIM3ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int BSIM3convTest(GENmodel *,CKTcircuit*);
-extern int BSIM3delete(GENinstance*);
-extern void BSIM3destroy(void);
extern int BSIM3getic(GENmodel*,CKTcircuit*);
extern int BSIM3load(GENmodel*,CKTcircuit*);
extern int BSIM3mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
diff --git a/src/spicelib/devices/bsim3/bsim3init.c b/src/spicelib/devices/bsim3/bsim3init.c
index 420ec6f20..eb848ef83 100644
--- a/src/spicelib/devices/bsim3/bsim3init.c
+++ b/src/spicelib/devices/bsim3/bsim3init.c
@@ -42,9 +42,9 @@ SPICEdev BSIM3info = {
.DEVfindBranch = NULL,
.DEVacLoad = BSIM3acLoad,
.DEVaccept = NULL,
- .DEVdestroy = BSIM3destroy,
+ .DEVdestroy = NULL,
.DEVmodDelete = BSIM3mDelete,
- .DEVdelete = BSIM3delete,
+ .DEVdelete = NULL,
.DEVsetic = BSIM3getic,
.DEVask = BSIM3ask,
.DEVmodAsk = BSIM3mAsk,
diff --git a/src/spicelib/devices/bsim3soi_dd/Makefile.am b/src/spicelib/devices/bsim3soi_dd/Makefile.am
index 5187d67e3..5b6e5032a 100644
--- a/src/spicelib/devices/bsim3soi_dd/Makefile.am
+++ b/src/spicelib/devices/bsim3soi_dd/Makefile.am
@@ -8,12 +8,9 @@ libbsim3soidd_la_SOURCES = \
b3soiddask.c \
b3soiddcheck.c \
b3soiddcvtest.c \
- b3soidddel.c \
- b3soidddest.c \
b3soiddgetic.c \
b3soiddld.c \
b3soiddmask.c \
- b3soiddmdel.c \
b3soiddmpar.c \
b3soiddnoi.c \
b3soiddpar.c \
diff --git a/src/spicelib/devices/bsim3soi_dd/b3soidddel.c b/src/spicelib/devices/bsim3soi_dd/b3soidddel.c
deleted file mode 100644
index 2608d2fcb..000000000
--- a/src/spicelib/devices/bsim3soi_dd/b3soidddel.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/**********
-Copyright 1999 Regents of the University of California. All rights reserved.
-Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
-File: b3soidddel.c 98/5/01
-Modified by Paolo Nenzi 2002
-**********/
-
-/*
- * Revision 2.1 99/9/27 Pin Su
- * BSIMDD2.1 release
- */
-
-#include "ngspice/ngspice.h"
-#include "b3soidddef.h"
-#include "ngspice/sperror.h"
-#include "ngspice/gendefs.h"
-#include "ngspice/suffix.h"
-
-
-int
-B3SOIDDdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim3soi_dd/b3soidddest.c b/src/spicelib/devices/bsim3soi_dd/b3soidddest.c
deleted file mode 100644
index 10042914b..000000000
--- a/src/spicelib/devices/bsim3soi_dd/b3soidddest.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********
-Copyright 1999 Regents of the University of California. All rights reserved.
-Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
-File: b3soidddest.c 98/5/01
-Modified by Paolo Nenzi 2002
-**********/
-
-/*
- * Revision 2.1 99/9/27 Pin Su
- * BSIMDD2.1 release
- */
-
-#include "ngspice/ngspice.h"
-#include "b3soidddef.h"
-#include "ngspice/suffix.h"
-
-
-void
-B3SOIDDdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/bsim3soi_dd/b3soiddext.h b/src/spicelib/devices/bsim3soi_dd/b3soiddext.h
index 107b4d7ab..454cea528 100644
--- a/src/spicelib/devices/bsim3soi_dd/b3soiddext.h
+++ b/src/spicelib/devices/bsim3soi_dd/b3soiddext.h
@@ -8,12 +8,9 @@ Modifed by Paolo Nenzi 2002
extern int B3SOIDDacLoad(GENmodel *,CKTcircuit*);
extern int B3SOIDDask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int B3SOIDDconvTest(GENmodel *,CKTcircuit*);
-extern int B3SOIDDdelete(GENinstance*);
-extern void B3SOIDDdestroy(void);
extern int B3SOIDDgetic(GENmodel*,CKTcircuit*);
extern int B3SOIDDload(GENmodel*,CKTcircuit*);
extern int B3SOIDDmAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
-extern int B3SOIDDmDelete(GENmodel*);
extern int B3SOIDDmParam(int,IFvalue*,GENmodel*);
extern void B3SOIDDmosCap(CKTcircuit*, double, double, double, double,
double, double, double, double, double, double, double,
diff --git a/src/spicelib/devices/bsim3soi_dd/b3soiddinit.c b/src/spicelib/devices/bsim3soi_dd/b3soiddinit.c
index fbc36aa13..e45f20684 100644
--- a/src/spicelib/devices/bsim3soi_dd/b3soiddinit.c
+++ b/src/spicelib/devices/bsim3soi_dd/b3soiddinit.c
@@ -40,9 +40,9 @@ SPICEdev B3SOIDDinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = B3SOIDDacLoad,
.DEVaccept = NULL,
- .DEVdestroy = B3SOIDDdestroy,
- .DEVmodDelete = B3SOIDDmDelete,
- .DEVdelete = B3SOIDDdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = B3SOIDDgetic,
.DEVask = B3SOIDDask,
.DEVmodAsk = B3SOIDDmAsk,
diff --git a/src/spicelib/devices/bsim3soi_dd/b3soiddmdel.c b/src/spicelib/devices/bsim3soi_dd/b3soiddmdel.c
deleted file mode 100644
index 235262bf6..000000000
--- a/src/spicelib/devices/bsim3soi_dd/b3soiddmdel.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/**********
-Copyright 1999 Regents of the University of California. All rights reserved.
-Author: Weidong Liu and Pin Su Feb 1999
-Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
-File: b3soiddmdel.c 98/5/01
-Modified by Paolo Nenzi 2002
-**********/
-
-/*
- * Revision 2.1 99/9/27 Pin Su
- * BSIMDD2.1 release
- */
-
-#include "ngspice/ngspice.h"
-#include "b3soidddef.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-B3SOIDDmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim3soi_fd/Makefile.am b/src/spicelib/devices/bsim3soi_fd/Makefile.am
index aac0e863a..c06b6b72a 100644
--- a/src/spicelib/devices/bsim3soi_fd/Makefile.am
+++ b/src/spicelib/devices/bsim3soi_fd/Makefile.am
@@ -8,12 +8,9 @@ libbsim3soifd_la_SOURCES = \
b3soifdask.c \
b3soifdcheck.c \
b3soifdcvtest.c \
- b3soifddel.c \
- b3soifddest.c \
b3soifdgetic.c \
b3soifdld.c \
b3soifdmask.c \
- b3soifdmdel.c \
b3soifdmpar.c \
b3soifdnoi.c \
b3soifdpar.c \
diff --git a/src/spicelib/devices/bsim3soi_fd/b3soifddel.c b/src/spicelib/devices/bsim3soi_fd/b3soifddel.c
deleted file mode 100644
index 1faf4c3c3..000000000
--- a/src/spicelib/devices/bsim3soi_fd/b3soifddel.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/**********
-Copyright 1999 Regents of the University of California. All rights reserved.
-Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
-Modified by Paolo Nenzi 2002
-File: b3soifddel.c 98/5/01
-**********/
-
-/*
- * Revision 2.1 99/9/27 Pin Su
- * BSIMFD2.1 release
- */
-
-#include "ngspice/ngspice.h"
-#include "b3soifddef.h"
-#include "ngspice/sperror.h"
-#include "ngspice/gendefs.h"
-#include "ngspice/suffix.h"
-
-
-int
-B3SOIFDdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim3soi_fd/b3soifddest.c b/src/spicelib/devices/bsim3soi_fd/b3soifddest.c
deleted file mode 100644
index b7fbc744d..000000000
--- a/src/spicelib/devices/bsim3soi_fd/b3soifddest.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********
-Copyright 1999 Regents of the University of California. All rights reserved.
-Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
-Modified by Paolo Nenzi 2002
-File: b3soifddest.c 98/5/01
-**********/
-
-/*
- * Revision 2.1 99/9/27 Pin Su
- * BSIMFD2.1 release
- */
-
-#include "ngspice/ngspice.h"
-#include "b3soifddef.h"
-#include "ngspice/suffix.h"
-
-
-void
-B3SOIFDdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/bsim3soi_fd/b3soifdext.h b/src/spicelib/devices/bsim3soi_fd/b3soifdext.h
index a1a30408f..7b3f69074 100644
--- a/src/spicelib/devices/bsim3soi_fd/b3soifdext.h
+++ b/src/spicelib/devices/bsim3soi_fd/b3soifdext.h
@@ -8,12 +8,9 @@ File: b3soifdext.h
extern int B3SOIFDacLoad(GENmodel *,CKTcircuit*);
extern int B3SOIFDask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int B3SOIFDconvTest(GENmodel *,CKTcircuit*);
-extern int B3SOIFDdelete(GENinstance*);
-extern void B3SOIFDdestroy(void);
extern int B3SOIFDgetic(GENmodel*,CKTcircuit*);
extern int B3SOIFDload(GENmodel*,CKTcircuit*);
extern int B3SOIFDmAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
-extern int B3SOIFDmDelete(GENmodel*);
extern int B3SOIFDmParam(int,IFvalue*,GENmodel*);
extern void B3SOIFDmosCap(CKTcircuit*, double, double, double, double,
double, double, double, double, double, double, double,
diff --git a/src/spicelib/devices/bsim3soi_fd/b3soifdinit.c b/src/spicelib/devices/bsim3soi_fd/b3soifdinit.c
index c41973691..8e58835c3 100644
--- a/src/spicelib/devices/bsim3soi_fd/b3soifdinit.c
+++ b/src/spicelib/devices/bsim3soi_fd/b3soifdinit.c
@@ -40,9 +40,9 @@ SPICEdev B3SOIFDinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = B3SOIFDacLoad,
.DEVaccept = NULL,
- .DEVdestroy = B3SOIFDdestroy,
- .DEVmodDelete = B3SOIFDmDelete,
- .DEVdelete = B3SOIFDdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = B3SOIFDgetic,
.DEVask = B3SOIFDask,
.DEVmodAsk = B3SOIFDmAsk,
diff --git a/src/spicelib/devices/bsim3soi_fd/b3soifdmdel.c b/src/spicelib/devices/bsim3soi_fd/b3soifdmdel.c
deleted file mode 100644
index 45f82ada1..000000000
--- a/src/spicelib/devices/bsim3soi_fd/b3soifdmdel.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/**********
-Copyright 1999 Regents of the University of California. All rights reserved.
-Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
-Modified by Paolo Nenzi 2002
-File: b3soifdmdel.c 98/5/01
-**********/
-
-/*
- * Revision 2.1 99/9/27 Pin Su
- * BSIMFD2.1 release
- */
-
-#include "ngspice/ngspice.h"
-#include "b3soifddef.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-B3SOIFDmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim3soi_pd/Makefile.am b/src/spicelib/devices/bsim3soi_pd/Makefile.am
index f363b1d0e..f4b594c9d 100644
--- a/src/spicelib/devices/bsim3soi_pd/Makefile.am
+++ b/src/spicelib/devices/bsim3soi_pd/Makefile.am
@@ -8,12 +8,9 @@ libbsim3soipd_la_SOURCES = \
b3soipdask.c \
b3soipdcheck.c \
b3soipdcvtest.c \
- b3soipddel.c \
- b3soipddest.c \
b3soipdgetic.c \
b3soipdld.c \
b3soipdmask.c \
- b3soipdmdel.c \
b3soipdmpar.c \
b3soipdnoi.c \
b3soipdpar.c \
diff --git a/src/spicelib/devices/bsim3soi_pd/b3soipddel.c b/src/spicelib/devices/bsim3soi_pd/b3soipddel.c
deleted file mode 100644
index 97b4fb4f4..000000000
--- a/src/spicelib/devices/bsim3soi_pd/b3soipddel.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
-File: b3soipddel.c 98/5/01
-Modified by Paolo Nenzi 2002
-**********/
-
-/*
- * Revision 2.2.3 02/3/5 Pin Su
- * BSIMPD2.2.3 release
- */
-
-#include "ngspice/ngspice.h"
-#include "b3soipddef.h"
-#include "ngspice/sperror.h"
-#include "ngspice/gendefs.h"
-#include "ngspice/suffix.h"
-
-
-int
-B3SOIPDdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim3soi_pd/b3soipddest.c b/src/spicelib/devices/bsim3soi_pd/b3soipddest.c
deleted file mode 100644
index 6ddbedc51..000000000
--- a/src/spicelib/devices/bsim3soi_pd/b3soipddest.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
-File: b3soipddest.c 98/5/01
-Modified by Paolo Nenzi 2002
-**********/
-
-/*
- * Revision 2.2.3 02/3/5 Pin Su
- * BSIMPD2.2.3 release
- */
-
-#include "ngspice/ngspice.h"
-#include "b3soipddef.h"
-#include "ngspice/suffix.h"
-
-
-void
-B3SOIPDdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/bsim3soi_pd/b3soipdext.h b/src/spicelib/devices/bsim3soi_pd/b3soipdext.h
index 78fb436b0..e8664dc4c 100644
--- a/src/spicelib/devices/bsim3soi_pd/b3soipdext.h
+++ b/src/spicelib/devices/bsim3soi_pd/b3soipdext.h
@@ -8,12 +8,9 @@ Modified by Paolo Nenzi 2002
extern int B3SOIPDacLoad(GENmodel *,CKTcircuit*);
extern int B3SOIPDask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int B3SOIPDconvTest(GENmodel *,CKTcircuit*);
-extern int B3SOIPDdelete(GENinstance*);
-extern void B3SOIPDdestroy(void);
extern int B3SOIPDgetic(GENmodel*,CKTcircuit*);
extern int B3SOIPDload(GENmodel*,CKTcircuit*);
extern int B3SOIPDmAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
-extern int B3SOIPDmDelete(GENmodel*);
extern int B3SOIPDmParam(int,IFvalue*,GENmodel*);
extern void B3SOIPDmosCap(CKTcircuit*, double, double, double, double,
double, double, double, double, double, double, double,
diff --git a/src/spicelib/devices/bsim3soi_pd/b3soipdinit.c b/src/spicelib/devices/bsim3soi_pd/b3soipdinit.c
index 381ea938e..2bfa48110 100644
--- a/src/spicelib/devices/bsim3soi_pd/b3soipdinit.c
+++ b/src/spicelib/devices/bsim3soi_pd/b3soipdinit.c
@@ -41,9 +41,9 @@ SPICEdev B3SOIPDinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = B3SOIPDacLoad,
.DEVaccept = NULL,
- .DEVdestroy = B3SOIPDdestroy,
- .DEVmodDelete = B3SOIPDmDelete,
- .DEVdelete = B3SOIPDdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = B3SOIPDgetic,
.DEVask = B3SOIPDask,
.DEVmodAsk = B3SOIPDmAsk,
diff --git a/src/spicelib/devices/bsim3soi_pd/b3soipdmdel.c b/src/spicelib/devices/bsim3soi_pd/b3soipdmdel.c
deleted file mode 100644
index 01ab0dd62..000000000
--- a/src/spicelib/devices/bsim3soi_pd/b3soipdmdel.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
-File: b3soipdmdel.c 98/5/01
-Modified by Paolo Nenzi 2002
-**********/
-
-/*
- * Revision 2.2.3 02/3/5 Pin Su
- * BSIMPD2.2.3 release
- */
-
-#include "ngspice/ngspice.h"
-#include "b3soipddef.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-B3SOIPDmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim3v0/Makefile.am b/src/spicelib/devices/bsim3v0/Makefile.am
index 4db27a86d..6c5154726 100644
--- a/src/spicelib/devices/bsim3v0/Makefile.am
+++ b/src/spicelib/devices/bsim3v0/Makefile.am
@@ -7,12 +7,9 @@ libbsim3v0_la_SOURCES = \
b3v0acld.c \
b3v0ask.c \
b3v0cvtest.c \
- b3v0del.c \
- b3v0dest.c \
b3v0getic.c \
b3v0ld.c \
b3v0mask.c \
- b3v0mdel.c \
b3v0mpar.c \
b3v0noi.c \
b3v0par.c \
diff --git a/src/spicelib/devices/bsim3v0/b3v0del.c b/src/spicelib/devices/bsim3v0/b3v0del.c
deleted file mode 100644
index ca91728c8..000000000
--- a/src/spicelib/devices/bsim3v0/b3v0del.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1995 Min-Chie Jeng and Mansun Chan.
-File: b3v0del.c
-**********/
-
-#include "ngspice/ngspice.h"
-#include "bsim3v0def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/gendefs.h"
-#include "ngspice/suffix.h"
-
-
-int
-BSIM3v0delete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim3v0/b3v0dest.c b/src/spicelib/devices/bsim3v0/b3v0dest.c
deleted file mode 100644
index 333422e0e..000000000
--- a/src/spicelib/devices/bsim3v0/b3v0dest.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1995 Min-Chie Jeng and Mansun Chan.
-File: b3v0dest.c
-**********/
-
-#include "ngspice/ngspice.h"
-#include "bsim3v0def.h"
-#include "ngspice/suffix.h"
-
-
-void
-BSIM3v0destroy(void)
-{
-}
diff --git a/src/spicelib/devices/bsim3v0/b3v0mdel.c b/src/spicelib/devices/bsim3v0/b3v0mdel.c
deleted file mode 100644
index 35830f3f2..000000000
--- a/src/spicelib/devices/bsim3v0/b3v0mdel.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1995 Min-Chie Jeng and Mansun Chan.
-File: b3v0mdel.c
-**********/
-
-#include "ngspice/ngspice.h"
-#include "bsim3v0def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-BSIM3v0mDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim3v0/bsim3v0ext.h b/src/spicelib/devices/bsim3v0/bsim3v0ext.h
index 2c5fdfcf6..5d011e557 100644
--- a/src/spicelib/devices/bsim3v0/bsim3v0ext.h
+++ b/src/spicelib/devices/bsim3v0/bsim3v0ext.h
@@ -7,12 +7,9 @@ File: bsim3v0ext.h
extern int BSIM3v0acLoad(GENmodel *,CKTcircuit*);
extern int BSIM3v0ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int BSIM3v0convTest(GENmodel *,CKTcircuit*);
-extern int BSIM3v0delete(GENinstance*);
-extern void BSIM3v0destroy(void);
extern int BSIM3v0getic(GENmodel*,CKTcircuit*);
extern int BSIM3v0load(GENmodel*,CKTcircuit*);
extern int BSIM3v0mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
-extern int BSIM3v0mDelete(GENmodel*);
extern int BSIM3v0mParam(int,IFvalue*,GENmodel*);
extern void BSIM3v0mosCap(CKTcircuit*, double, double, double, double,
double, double, double, double, double, double, double,
diff --git a/src/spicelib/devices/bsim3v0/bsim3v0init.c b/src/spicelib/devices/bsim3v0/bsim3v0init.c
index 0b673bca9..54eba2633 100644
--- a/src/spicelib/devices/bsim3v0/bsim3v0init.c
+++ b/src/spicelib/devices/bsim3v0/bsim3v0init.c
@@ -41,9 +41,9 @@ SPICEdev B3v0info = {
.DEVfindBranch = NULL,
.DEVacLoad = BSIM3v0acLoad,
.DEVaccept = NULL,
- .DEVdestroy = BSIM3v0destroy,
- .DEVmodDelete = BSIM3v0mDelete,
- .DEVdelete = BSIM3v0delete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = BSIM3v0getic,
.DEVask = BSIM3v0ask,
.DEVmodAsk = BSIM3v0mAsk,
diff --git a/src/spicelib/devices/bsim3v1/Makefile.am b/src/spicelib/devices/bsim3v1/Makefile.am
index 9ede60cb9..f9000b6a4 100644
--- a/src/spicelib/devices/bsim3v1/Makefile.am
+++ b/src/spicelib/devices/bsim3v1/Makefile.am
@@ -8,12 +8,9 @@ libbsim3v1_la_SOURCES = \
b3v1ask.c \
b3v1check.c \
b3v1cvtest.c \
- b3v1del.c \
- b3v1dest.c \
b3v1getic.c \
b3v1ld.c \
b3v1mask.c \
- b3v1mdel.c \
b3v1mpar.c \
b3v1noi.c \
b3v1par.c \
diff --git a/src/spicelib/devices/bsim3v1/b3v1del.c b/src/spicelib/devices/bsim3v1/b3v1del.c
deleted file mode 100644
index 1f8486b0d..000000000
--- a/src/spicelib/devices/bsim3v1/b3v1del.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/**********
- * Copyright 1990 Regents of the University of California. All rights reserved.
- * File: b3v1del.c
- * Author: 1995 Min-Chie Jeng and Mansun Chan.
- * Modified by Paolo Nenzi 2002
- **********/
-
-/*
- * Release Notes:
- * BSIM3v3.1, Released by yuhua 96/12/08
- */
-
-#include "ngspice/ngspice.h"
-#include "bsim3v1def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/gendefs.h"
-#include "ngspice/suffix.h"
-
-
-int
-BSIM3v1delete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim3v1/b3v1dest.c b/src/spicelib/devices/bsim3v1/b3v1dest.c
deleted file mode 100644
index 73d7626ea..000000000
--- a/src/spicelib/devices/bsim3v1/b3v1dest.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********
- * Copyright 1990 Regents of the University of California. All rights reserved.
- * File: b3v1dest.c
- * Author: 1995 Min-Chie Jeng and Mansun Chan.
- * Modified by Paolo Nenzi 2002
- **********/
-
-/*
- * Release Notes:
- * BSIM3v3.1, Released by yuhua 96/12/08
- */
-
-#include "ngspice/ngspice.h"
-#include "bsim3v1def.h"
-#include "ngspice/suffix.h"
-
-
-void
-BSIM3v1destroy(void)
-{
-}
diff --git a/src/spicelib/devices/bsim3v1/b3v1mdel.c b/src/spicelib/devices/bsim3v1/b3v1mdel.c
deleted file mode 100644
index 66cc6205a..000000000
--- a/src/spicelib/devices/bsim3v1/b3v1mdel.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/**********
- * Copyright 1990 Regents of the University of California. All rights reserved.
- * File: b3v1mdel.c
- * Author: 1995 Min-Chie Jeng and Mansun Chan.
- * Modified by Paolo Nenzi 2002
- **********/
-
-/*
- * Release Notes:
- * BSIM3v3.1, Released by yuhua 96/12/08
- */
-
-#include "ngspice/ngspice.h"
-#include "bsim3v1def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-BSIM3v1mDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim3v1/bsim3v1ext.h b/src/spicelib/devices/bsim3v1/bsim3v1ext.h
index 972b089ad..5fd68451a 100644
--- a/src/spicelib/devices/bsim3v1/bsim3v1ext.h
+++ b/src/spicelib/devices/bsim3v1/bsim3v1ext.h
@@ -8,12 +8,9 @@ File: bsim3v1ext.h
extern int BSIM3v1acLoad(GENmodel *, CKTcircuit *);
extern int BSIM3v1ask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue *);
extern int BSIM3v1convTest(GENmodel *, CKTcircuit *);
-extern int BSIM3v1delete(GENinstance *);
-extern void BSIM3v1destroy(void);
extern int BSIM3v1getic(GENmodel *, CKTcircuit *);
extern int BSIM3v1load(GENmodel *, CKTcircuit *);
extern int BSIM3v1mAsk(CKTcircuit *, GENmodel *, int, IFvalue *);
-extern int BSIM3v1mDelete(GENmodel *);
extern int BSIM3v1mParam(int, IFvalue *, GENmodel *);
extern void BSIM3v1mosCap(CKTcircuit *, double, double, double, double,
double, double, double, double, double, double, double,
diff --git a/src/spicelib/devices/bsim3v1/bsim3v1init.c b/src/spicelib/devices/bsim3v1/bsim3v1init.c
index b290af7e2..1e5ec3c2b 100644
--- a/src/spicelib/devices/bsim3v1/bsim3v1init.c
+++ b/src/spicelib/devices/bsim3v1/bsim3v1init.c
@@ -41,9 +41,9 @@ SPICEdev BSIM3v1info = {
.DEVfindBranch = NULL,
.DEVacLoad = BSIM3v1acLoad,
.DEVaccept = NULL,
- .DEVdestroy = BSIM3v1destroy,
- .DEVmodDelete = BSIM3v1mDelete,
- .DEVdelete = BSIM3v1delete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = BSIM3v1getic,
.DEVask = BSIM3v1ask,
.DEVmodAsk = BSIM3v1mAsk,
diff --git a/src/spicelib/devices/bsim3v32/Makefile.am b/src/spicelib/devices/bsim3v32/Makefile.am
index 8c5bb529a..0f5818873 100644
--- a/src/spicelib/devices/bsim3v32/Makefile.am
+++ b/src/spicelib/devices/bsim3v32/Makefile.am
@@ -8,8 +8,6 @@ libbsim3v32_la_SOURCES = \
b3v32ask.c \
b3v32check.c \
b3v32cvtest.c \
- b3v32del.c \
- b3v32dest.c \
b3v32getic.c \
b3v32ld.c \
b3v32mask.c \
diff --git a/src/spicelib/devices/bsim3v32/b3v32del.c b/src/spicelib/devices/bsim3v32/b3v32del.c
deleted file mode 100644
index ccbcd7d58..000000000
--- a/src/spicelib/devices/bsim3v32/b3v32del.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/**** BSIM3v3.2.4, Released by Xuemei Xi 12/14/2001 ****/
-
-/**********
- * Copyright 2001 Regents of the University of California. All rights reserved.
- * File: b3del.c of BSIM3v3.2.4
- * Author: 1995 Min-Chie Jeng and Mansun Chan
- * Author: 1997-1999 Weidong Liu.
- * Author: 2001 Xuemei Xi
- * Modified by Xuemei Xi, 10/05, 12/14, 2001.
- * Modified by Paolo Nenzi 2002
- **********/
-
-#include "ngspice/ngspice.h"
-#include "bsim3v32def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/gendefs.h"
-#include "ngspice/suffix.h"
-
-
-int
-BSIM3v32delete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim3v32/b3v32dest.c b/src/spicelib/devices/bsim3v32/b3v32dest.c
deleted file mode 100644
index 805748613..000000000
--- a/src/spicelib/devices/bsim3v32/b3v32dest.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/**** BSIM3v3.2.4, Released by Xuemei Xi 12/14/2001 ****/
-
-/**********
- * Copyright 2001 Regents of the University of California. All rights reserved.
- * File: b3dest.c of BSIM3v3.2.4
- * Author: 1995 Min-Chie Jeng and Mansun Chan.
- * Author: 1997-1999 Weidong Liu.
- * Author: 2001 Xuemei Xi
- * Modified by Paolo Nenzi 2002
- **********/
-
-#include "ngspice/ngspice.h"
-#include "bsim3v32def.h"
-#include "ngspice/suffix.h"
-
-
-void
-BSIM3v32destroy (void)
-{
-}
diff --git a/src/spicelib/devices/bsim3v32/bsim3v32ext.h b/src/spicelib/devices/bsim3v32/bsim3v32ext.h
index 9d02c7e3b..1612149da 100644
--- a/src/spicelib/devices/bsim3v32/bsim3v32ext.h
+++ b/src/spicelib/devices/bsim3v32/bsim3v32ext.h
@@ -9,8 +9,6 @@ File: bsim3ext.h
extern int BSIM3v32acLoad(GENmodel *,CKTcircuit*);
extern int BSIM3v32ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int BSIM3v32convTest(GENmodel *,CKTcircuit*);
-extern int BSIM3v32delete(GENinstance*);
-extern void BSIM3v32destroy(void);
extern int BSIM3v32getic(GENmodel*,CKTcircuit*);
extern int BSIM3v32load(GENmodel*,CKTcircuit*);
extern int BSIM3v32mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
diff --git a/src/spicelib/devices/bsim3v32/bsim3v32init.c b/src/spicelib/devices/bsim3v32/bsim3v32init.c
index 960d7fd81..aaeb71c9b 100644
--- a/src/spicelib/devices/bsim3v32/bsim3v32init.c
+++ b/src/spicelib/devices/bsim3v32/bsim3v32init.c
@@ -42,9 +42,9 @@ SPICEdev BSIM3v32info = {
.DEVfindBranch = NULL,
.DEVacLoad = BSIM3v32acLoad,
.DEVaccept = NULL,
- .DEVdestroy = BSIM3v32destroy,
+ .DEVdestroy = NULL,
.DEVmodDelete = BSIM3v32mDelete,
- .DEVdelete = BSIM3v32delete,
+ .DEVdelete = NULL,
.DEVsetic = BSIM3v32getic,
.DEVask = BSIM3v32ask,
.DEVmodAsk = BSIM3v32mAsk,
diff --git a/src/spicelib/devices/bsim4/Makefile.am b/src/spicelib/devices/bsim4/Makefile.am
index 047ffdfc6..dd8c16572 100644
--- a/src/spicelib/devices/bsim4/Makefile.am
+++ b/src/spicelib/devices/bsim4/Makefile.am
@@ -8,8 +8,6 @@ libbsim4_la_SOURCES = \
b4ask.c \
b4check.c \
b4cvtest.c \
- b4del.c \
- b4dest.c \
b4geo.c \
b4getic.c \
b4ld.c \
diff --git a/src/spicelib/devices/bsim4/b4del.c b/src/spicelib/devices/bsim4/b4del.c
deleted file mode 100644
index a72953039..000000000
--- a/src/spicelib/devices/bsim4/b4del.c
+++ /dev/null
@@ -1,73 +0,0 @@
-/* ******************************************************************************
- * BSIM4 4.8.1 released by Chetan Kumar Dabhi 2/15/2017 *
- * BSIM4 Model Equations *
- ******************************************************************************
-
- ******************************************************************************
- * Copyright 2017 Regents of the University of California. *
- * All rights reserved. *
- * *
- * Project Director: Prof. Chenming Hu. *
- * Authors: Gary W. Ng, Weidong Liu, Xuemei Xi, Mohan Dunga, Wenwei Yang *
- * Ali Niknejad, Shivendra Singh Parihar, Chetan Kumar Dabhi *
- * Yogesh Singh Chauhan, Sayeef Salahuddin, Chenming Hu *
- ******************************************************************************
-
- ******************************************************************************
- * CMC In-Code Statement *
- * *
- * The Developer agrees that the following statement will appear in the *
- * model code that has been adopted as a CMC Standard. *
- * *
- * Software is distributed as is, completely without warranty or service *
- * support. The University of California and its employees are not liable *
- * for the condition or performance of the software. *
- * *
- * The University of California owns the copyright and grants users a *
- * perpetual, irrevocable, worldwide, non-exclusive, royalty-free license *
- * with respect to the software as set forth below. *
- * *
- * The University of California hereby disclaims all implied warranties. *
- * *
- * The University of California grants the users the right to modify, *
- * copy, and redistribute the software and documentation, both within *
- * the user's organization and externally, subject to the following *
- * restrictions: *
- * *
- * 1. The users agree not to charge for the University of California code *
- * itself but may charge for additions, extensions, or support. *
- * *
- * 2. In any product based on the software, the users agree to *
- * acknowledge the University of California that developed the *
- * software. This acknowledgment shall appear in the product *
- * documentation. *
- * *
- * 3. Redistributions to others of source code and documentation must *
- * retain the copyright notice, disclaimer, and list of conditions. *
- * *
- * 4. Redistributions to others in binary form must reproduce the *
- * copyright notice, disclaimer, and list of conditions in the *
- * documentation and/or other materials provided with the *
- * distribution. *
- * *
- * Agreed to on ______Feb. 15, 2017______________ *
- * *
- * By: ____University of California, Berkeley___ *
- * ____Chenming Hu__________________________ *
- * ____Professor in Graduate School ________ *
- * *
- ****************************************************************************** */
-
-#include "ngspice/ngspice.h"
-#include "bsim4def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/gendefs.h"
-#include "ngspice/suffix.h"
-
-
-int
-BSIM4delete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim4/b4dest.c b/src/spicelib/devices/bsim4/b4dest.c
deleted file mode 100644
index bb75d330a..000000000
--- a/src/spicelib/devices/bsim4/b4dest.c
+++ /dev/null
@@ -1,69 +0,0 @@
-/* ******************************************************************************
- * BSIM4 4.8.1 released by Chetan Kumar Dabhi 2/15/2017 *
- * BSIM4 Model Equations *
- ******************************************************************************
-
- ******************************************************************************
- * Copyright 2017 Regents of the University of California. *
- * All rights reserved. *
- * *
- * Project Director: Prof. Chenming Hu. *
- * Authors: Gary W. Ng, Weidong Liu, Xuemei Xi, Mohan Dunga, Wenwei Yang *
- * Ali Niknejad, Shivendra Singh Parihar, Chetan Kumar Dabhi *
- * Yogesh Singh Chauhan, Sayeef Salahuddin, Chenming Hu *
- ******************************************************************************
-
- ******************************************************************************
- * CMC In-Code Statement *
- * *
- * The Developer agrees that the following statement will appear in the *
- * model code that has been adopted as a CMC Standard. *
- * *
- * Software is distributed as is, completely without warranty or service *
- * support. The University of California and its employees are not liable *
- * for the condition or performance of the software. *
- * *
- * The University of California owns the copyright and grants users a *
- * perpetual, irrevocable, worldwide, non-exclusive, royalty-free license *
- * with respect to the software as set forth below. *
- * *
- * The University of California hereby disclaims all implied warranties. *
- * *
- * The University of California grants the users the right to modify, *
- * copy, and redistribute the software and documentation, both within *
- * the user's organization and externally, subject to the following *
- * restrictions: *
- * *
- * 1. The users agree not to charge for the University of California code *
- * itself but may charge for additions, extensions, or support. *
- * *
- * 2. In any product based on the software, the users agree to *
- * acknowledge the University of California that developed the *
- * software. This acknowledgment shall appear in the product *
- * documentation. *
- * *
- * 3. Redistributions to others of source code and documentation must *
- * retain the copyright notice, disclaimer, and list of conditions. *
- * *
- * 4. Redistributions to others in binary form must reproduce the *
- * copyright notice, disclaimer, and list of conditions in the *
- * documentation and/or other materials provided with the *
- * distribution. *
- * *
- * Agreed to on ______Feb. 15, 2017______________ *
- * *
- * By: ____University of California, Berkeley___ *
- * ____Chenming Hu__________________________ *
- * ____Professor in Graduate School ________ *
- * *
- ****************************************************************************** */
-
-#include "ngspice/ngspice.h"
-#include "bsim4def.h"
-#include "ngspice/suffix.h"
-
-
-void
-BSIM4destroy(void)
-{
-}
diff --git a/src/spicelib/devices/bsim4/bsim4ext.h b/src/spicelib/devices/bsim4/bsim4ext.h
index ba69998ec..810144cc4 100644
--- a/src/spicelib/devices/bsim4/bsim4ext.h
+++ b/src/spicelib/devices/bsim4/bsim4ext.h
@@ -61,8 +61,6 @@
extern int BSIM4acLoad(GENmodel *,CKTcircuit*);
extern int BSIM4ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int BSIM4convTest(GENmodel *,CKTcircuit*);
-extern int BSIM4delete(GENinstance*);
-extern void BSIM4destroy(void);
extern int BSIM4getic(GENmodel*,CKTcircuit*);
extern int BSIM4load(GENmodel*,CKTcircuit*);
extern int BSIM4mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
diff --git a/src/spicelib/devices/bsim4/bsim4init.c b/src/spicelib/devices/bsim4/bsim4init.c
index fe03fb432..3f2156752 100644
--- a/src/spicelib/devices/bsim4/bsim4init.c
+++ b/src/spicelib/devices/bsim4/bsim4init.c
@@ -42,9 +42,9 @@ SPICEdev BSIM4info = {
.DEVfindBranch = NULL,
.DEVacLoad = BSIM4acLoad,
.DEVaccept = NULL,
- .DEVdestroy = BSIM4destroy,
+ .DEVdestroy = NULL,
.DEVmodDelete = BSIM4mDelete,
- .DEVdelete = BSIM4delete,
+ .DEVdelete = NULL,
.DEVsetic = BSIM4getic,
.DEVask = BSIM4ask,
.DEVmodAsk = BSIM4mAsk,
diff --git a/src/spicelib/devices/bsim4v5/Makefile.am b/src/spicelib/devices/bsim4v5/Makefile.am
index 4438ce323..d10334644 100644
--- a/src/spicelib/devices/bsim4v5/Makefile.am
+++ b/src/spicelib/devices/bsim4v5/Makefile.am
@@ -8,8 +8,6 @@ libbsim4v5_la_SOURCES = \
b4v5ask.c \
b4v5check.c \
b4v5cvtest.c \
- b4v5del.c \
- b4v5dest.c \
b4v5geo.c \
b4v5getic.c \
b4v5ld.c \
diff --git a/src/spicelib/devices/bsim4v5/b4v5del.c b/src/spicelib/devices/bsim4v5/b4v5del.c
deleted file mode 100644
index 13624afee..000000000
--- a/src/spicelib/devices/bsim4v5/b4v5del.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/**** BSIM4.5.0 Released by Xuemei (Jane) Xi 07/29/2005 ****/
-
-/**********
- * Copyright 2005 Regents of the University of California. All rights reserved.
- * File: b4del.c of BSIM4.5.0.
- * Author: 2000 Weidong Liu
- * Authors: 2001- Xuemei Xi, Mohan Dunga, Ali Niknejad, Chenming Hu.
- * Project Director: Prof. Chenming Hu.
- **********/
-
-#include "ngspice/ngspice.h"
-#include "bsim4v5def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/gendefs.h"
-#include "ngspice/suffix.h"
-
-
-int
-BSIM4v5delete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim4v5/b4v5dest.c b/src/spicelib/devices/bsim4v5/b4v5dest.c
deleted file mode 100644
index 7bfa2b5fd..000000000
--- a/src/spicelib/devices/bsim4v5/b4v5dest.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/**** BSIM4.5.0 Released by Xuemei (Jane) Xi 07/29/2005 ****/
-
-/**********
- * Copyright 2005 Regents of the University of California. All rights reserved.
- * File: b4dest.c of BSIM4.5.0.
- * Author: 2000 Weidong Liu
- * Authors: 2001- Xuemei Xi, Mohan Dunga, Ali Niknejad, Chenming Hu.
- * Project Director: Prof. Chenming Hu.
- **********/
-
-#include "ngspice/ngspice.h"
-#include "bsim4v5def.h"
-#include "ngspice/suffix.h"
-
-
-void
-BSIM4v5destroy(void)
-{
-}
diff --git a/src/spicelib/devices/bsim4v5/bsim4v5ext.h b/src/spicelib/devices/bsim4v5/bsim4v5ext.h
index 3e043b9bc..04248e6a8 100644
--- a/src/spicelib/devices/bsim4v5/bsim4v5ext.h
+++ b/src/spicelib/devices/bsim4v5/bsim4v5ext.h
@@ -8,8 +8,6 @@ File: bsim4v5ext.h
extern int BSIM4v5acLoad(GENmodel *,CKTcircuit*);
extern int BSIM4v5ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int BSIM4v5convTest(GENmodel *,CKTcircuit*);
-extern int BSIM4v5delete(GENinstance*);
-extern void BSIM4v5destroy(void);
extern int BSIM4v5getic(GENmodel*,CKTcircuit*);
extern int BSIM4v5load(GENmodel*,CKTcircuit*);
extern int BSIM4v5mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
diff --git a/src/spicelib/devices/bsim4v5/bsim4v5init.c b/src/spicelib/devices/bsim4v5/bsim4v5init.c
index 8ac071444..4d09e2ee0 100644
--- a/src/spicelib/devices/bsim4v5/bsim4v5init.c
+++ b/src/spicelib/devices/bsim4v5/bsim4v5init.c
@@ -42,9 +42,9 @@ SPICEdev BSIM4v5info = {
.DEVfindBranch = NULL,
.DEVacLoad = BSIM4v5acLoad,
.DEVaccept = NULL,
- .DEVdestroy = BSIM4v5destroy,
+ .DEVdestroy = NULL,
.DEVmodDelete = BSIM4v5mDelete,
- .DEVdelete = BSIM4v5delete,
+ .DEVdelete = NULL,
.DEVsetic = BSIM4v5getic,
.DEVask = BSIM4v5ask,
.DEVmodAsk = BSIM4v5mAsk,
diff --git a/src/spicelib/devices/bsim4v6/Makefile.am b/src/spicelib/devices/bsim4v6/Makefile.am
index ad03052c0..21f116802 100644
--- a/src/spicelib/devices/bsim4v6/Makefile.am
+++ b/src/spicelib/devices/bsim4v6/Makefile.am
@@ -8,8 +8,6 @@ libbsim4v6_la_SOURCES = \
b4v6ask.c \
b4v6check.c \
b4v6cvtest.c \
- b4v6del.c \
- b4v6dest.c \
b4v6geo.c \
b4v6getic.c \
b4v6ld.c \
diff --git a/src/spicelib/devices/bsim4v6/b4v6del.c b/src/spicelib/devices/bsim4v6/b4v6del.c
deleted file mode 100644
index a165c5783..000000000
--- a/src/spicelib/devices/bsim4v6/b4v6del.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/**** BSIM4.6.2 Released by Wenwei Yang 07/31/2008 ****/
-
-/**********
- * Copyright 2006 Regents of the University of California. All rights reserved.
- * File: b4del.c of BSIM4.6.2.
- * Author: 2000 Weidong Liu
- * Authors: 2001- Xuemei Xi, Mohan Dunga, Ali Niknejad, Chenming Hu.
- * Authors: 2006- Mohan Dunga, Ali Niknejad, Chenming Hu
- * Authors: 2007- Mohan Dunga, Wenwei Yang, Ali Niknejad, Chenming Hu
- * Project Director: Prof. Chenming Hu.
- **********/
-
-#include "ngspice/ngspice.h"
-#include "bsim4v6def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/gendefs.h"
-#include "ngspice/suffix.h"
-
-
-int
-BSIM4v6delete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim4v6/b4v6dest.c b/src/spicelib/devices/bsim4v6/b4v6dest.c
deleted file mode 100644
index 422d2b25f..000000000
--- a/src/spicelib/devices/bsim4v6/b4v6dest.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/**** BSIM4.6.2 Released by Wenwei Yang 07/31/2008 ****/
-
-/**********
- * Copyright 2006 Regents of the University of California. All rights reserved.
- * File: b4dest.c of BSIM4.6.2.
- * Author: 2000 Weidong Liu
- * Authors: 2001- Xuemei Xi, Mohan Dunga, Ali Niknejad, Chenming Hu.
- * Authors: 2006- Mohan Dunga, Ali Niknejad, Chenming Hu
- * Authors: 2007- Mohan Dunga, Wenwei Yang, Ali Niknejad, Chenming Hu
- * Project Director: Prof. Chenming Hu.
- **********/
-
-#include "ngspice/ngspice.h"
-#include "bsim4v6def.h"
-#include "ngspice/suffix.h"
-
-
-void
-BSIM4v6destroy(void)
-{
-}
diff --git a/src/spicelib/devices/bsim4v6/bsim4v6ext.h b/src/spicelib/devices/bsim4v6/bsim4v6ext.h
index 814262b33..0ff7394c5 100644
--- a/src/spicelib/devices/bsim4v6/bsim4v6ext.h
+++ b/src/spicelib/devices/bsim4v6/bsim4v6ext.h
@@ -8,8 +8,6 @@ File: bsim4v6ext.h
extern int BSIM4v6acLoad(GENmodel *,CKTcircuit*);
extern int BSIM4v6ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int BSIM4v6convTest(GENmodel *,CKTcircuit*);
-extern int BSIM4v6delete(GENinstance*);
-extern void BSIM4v6destroy(void);
extern int BSIM4v6getic(GENmodel*,CKTcircuit*);
extern int BSIM4v6load(GENmodel*,CKTcircuit*);
extern int BSIM4v6mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
diff --git a/src/spicelib/devices/bsim4v6/bsim4v6init.c b/src/spicelib/devices/bsim4v6/bsim4v6init.c
index 6e25377d4..b31970d15 100644
--- a/src/spicelib/devices/bsim4v6/bsim4v6init.c
+++ b/src/spicelib/devices/bsim4v6/bsim4v6init.c
@@ -42,9 +42,9 @@ SPICEdev BSIM4v6info = {
.DEVfindBranch = NULL,
.DEVacLoad = BSIM4v6acLoad,
.DEVaccept = NULL,
- .DEVdestroy = BSIM4v6destroy,
+ .DEVdestroy = NULL,
.DEVmodDelete = BSIM4v6mDelete,
- .DEVdelete = BSIM4v6delete,
+ .DEVdelete = NULL,
.DEVsetic = BSIM4v6getic,
.DEVask = BSIM4v6ask,
.DEVmodAsk = BSIM4v6mAsk,
diff --git a/src/spicelib/devices/bsim4v7/Makefile.am b/src/spicelib/devices/bsim4v7/Makefile.am
index 9e6ed7349..4bb833752 100644
--- a/src/spicelib/devices/bsim4v7/Makefile.am
+++ b/src/spicelib/devices/bsim4v7/Makefile.am
@@ -8,8 +8,6 @@ libbsim4v7_la_SOURCES = \
b4v7ask.c \
b4v7check.c \
b4v7cvtest.c \
- b4v7del.c \
- b4v7dest.c \
b4v7geo.c \
b4v7getic.c \
b4v7ld.c \
diff --git a/src/spicelib/devices/bsim4v7/b4v7del.c b/src/spicelib/devices/bsim4v7/b4v7del.c
deleted file mode 100644
index c3cf9d529..000000000
--- a/src/spicelib/devices/bsim4v7/b4v7del.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/**** BSIM4.7.0 Released by Darsen Lu 04/08/2011 ****/
-
-/**********
- * Copyright 2006 Regents of the University of California. All rights reserved.
- * File: b4del.c of BSIM4.7.0.
- * Author: 2000 Weidong Liu
- * Authors: 2001- Xuemei Xi, Mohan Dunga, Ali Niknejad, Chenming Hu.
- * Authors: 2006- Mohan Dunga, Ali Niknejad, Chenming Hu
- * Authors: 2007- Mohan Dunga, Wenwei Yang, Ali Niknejad, Chenming Hu
- * Project Director: Prof. Chenming Hu.
- **********/
-
-#include "ngspice/ngspice.h"
-#include "bsim4v7def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/gendefs.h"
-#include "ngspice/suffix.h"
-
-
-int
-BSIM4v7delete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/bsim4v7/b4v7dest.c b/src/spicelib/devices/bsim4v7/b4v7dest.c
deleted file mode 100644
index 80e02685b..000000000
--- a/src/spicelib/devices/bsim4v7/b4v7dest.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/**** BSIM4.7.0 Released by Darsen Lu 04/08/2011 ****/
-
-/**********
- * Copyright 2006 Regents of the University of California. All rights reserved.
- * File: b4dest.c of BSIM4.7.0.
- * Author: 2000 Weidong Liu
- * Authors: 2001- Xuemei Xi, Mohan Dunga, Ali Niknejad, Chenming Hu.
- * Authors: 2006- Mohan Dunga, Ali Niknejad, Chenming Hu
- * Authors: 2007- Mohan Dunga, Wenwei Yang, Ali Niknejad, Chenming Hu
- * Project Director: Prof. Chenming Hu.
- **********/
-
-#include "ngspice/ngspice.h"
-#include "bsim4v7def.h"
-#include "ngspice/suffix.h"
-
-
-void
-BSIM4v7destroy(void)
-{
-}
diff --git a/src/spicelib/devices/bsim4v7/bsim4v7ext.h b/src/spicelib/devices/bsim4v7/bsim4v7ext.h
index c92df8694..d25a3ad87 100644
--- a/src/spicelib/devices/bsim4v7/bsim4v7ext.h
+++ b/src/spicelib/devices/bsim4v7/bsim4v7ext.h
@@ -8,8 +8,6 @@ File: bsim4v7ext.h
extern int BSIM4v7acLoad(GENmodel *,CKTcircuit*);
extern int BSIM4v7ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int BSIM4v7convTest(GENmodel *,CKTcircuit*);
-extern int BSIM4v7delete(GENinstance*);
-extern void BSIM4v7destroy(void);
extern int BSIM4v7getic(GENmodel*,CKTcircuit*);
extern int BSIM4v7load(GENmodel*,CKTcircuit*);
extern int BSIM4v7mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
diff --git a/src/spicelib/devices/bsim4v7/bsim4v7init.c b/src/spicelib/devices/bsim4v7/bsim4v7init.c
index 72111f90b..abe32d37b 100644
--- a/src/spicelib/devices/bsim4v7/bsim4v7init.c
+++ b/src/spicelib/devices/bsim4v7/bsim4v7init.c
@@ -42,9 +42,9 @@ SPICEdev BSIM4v7info = {
.DEVfindBranch = NULL,
.DEVacLoad = BSIM4v7acLoad,
.DEVaccept = NULL,
- .DEVdestroy = BSIM4v7destroy,
+ .DEVdestroy = NULL,
.DEVmodDelete = BSIM4v7mDelete,
- .DEVdelete = BSIM4v7delete,
+ .DEVdelete = NULL,
.DEVsetic = BSIM4v7getic,
.DEVask = BSIM4v7ask,
.DEVmodAsk = BSIM4v7mAsk,
diff --git a/src/spicelib/devices/bsimsoi/Makefile.am b/src/spicelib/devices/bsimsoi/Makefile.am
index ba4676815..e28c4b298 100644
--- a/src/spicelib/devices/bsimsoi/Makefile.am
+++ b/src/spicelib/devices/bsimsoi/Makefile.am
@@ -8,8 +8,6 @@ libbsim4soi_la_SOURCES = \
b4soiask.c \
b4soicheck.c \
b4soicvtest.c \
- b4soidel.c \
- b4soidest.c \
b4soigetic.c \
b4soild.c \
b4soimask.c \
diff --git a/src/spicelib/devices/bsimsoi/b4soidel.c b/src/spicelib/devices/bsimsoi/b4soidel.c
deleted file mode 100644
index 73bc29d14..000000000
--- a/src/spicelib/devices/bsimsoi/b4soidel.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/*** B4SOI 12/16/2010 Released by Tanvir Morshed ***/
-
-/**********
- * Copyright 2010 Regents of the University of California. All rights reserved.
- * Authors: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
- * Authors: 1999-2004 Pin Su, Hui Wan, Wei Jin, b3soidel.c
- * Authors: 2005- Hui Wan, Xuemei Xi, Ali Niknejad, Chenming Hu.
- * Authors: 2009- Wenwei Yang, Chung-Hsun Lin, Ali Niknejad, Chenming Hu.
- * File: b4soidel.c
- * Modified by Hui Wan, Xuemei Xi 11/30/2005
- * Modified by Wenwei Yang, Chung-Hsun Lin, Darsen Lu 03/06/2009
- * Modified by Tanvir Morshed 09/22/2009
- * Modified by Tanvir Morshed 12/31/2009
- **********/
-
-#include "ngspice/ngspice.h"
-#include "b4soidef.h"
-#include "ngspice/sperror.h"
-#include "ngspice/gendefs.h"
-#include "ngspice/suffix.h"
-
-
-int
-B4SOIdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/bsimsoi/b4soidest.c b/src/spicelib/devices/bsimsoi/b4soidest.c
deleted file mode 100644
index afa8a63b4..000000000
--- a/src/spicelib/devices/bsimsoi/b4soidest.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/*** B4SOI 12/16/2010 Released by Tanvir Morshed ***/
-
-
-/**********
- * Copyright 2010 Regents of the University of California. All rights reserved.
- * Authors: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
- * Authors: 1999-2004 Pin Su, Hui Wan, Wei Jin, b3soidest.c
- * Authors: 2005- Hui Wan, Xuemei Xi, Ali Niknejad, Chenming Hu.
- * Authors: 2009- Wenwei Yang, Chung-Hsun Lin, Ali Niknejad, Chenming Hu.
- * File: b4soidest.c
- * Modified by Hui Wan, Xuemei Xi 11/30/2005
- * Modified by Wenwei Yang, Chung-Hsun Lin, Darsen Lu 03/06/2009
- * Modified by Tanvir Morshed 09/22/2009
- * Modified by Tanvir Morshed 12/31/2009
- **********/
-
-#include "ngspice/ngspice.h"
-#include "b4soidef.h"
-#include "ngspice/suffix.h"
-
-
-void
-B4SOIdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/bsimsoi/b4soiext.h b/src/spicelib/devices/bsimsoi/b4soiext.h
index 014baab32..15feb85b9 100644
--- a/src/spicelib/devices/bsimsoi/b4soiext.h
+++ b/src/spicelib/devices/bsimsoi/b4soiext.h
@@ -10,8 +10,6 @@ File: b4soiext.h
extern int B4SOIacLoad(GENmodel *,CKTcircuit*);
extern int B4SOIask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int B4SOIconvTest(GENmodel *,CKTcircuit*);
-extern int B4SOIdelete(GENinstance*);
-extern void B4SOIdestroy(void);
extern int B4SOIgetic(GENmodel*,CKTcircuit*);
extern int B4SOIload(GENmodel*,CKTcircuit*);
extern int B4SOImAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
diff --git a/src/spicelib/devices/bsimsoi/b4soiinit.c b/src/spicelib/devices/bsimsoi/b4soiinit.c
index 3cdc3c117..068207a07 100644
--- a/src/spicelib/devices/bsimsoi/b4soiinit.c
+++ b/src/spicelib/devices/bsimsoi/b4soiinit.c
@@ -40,9 +40,9 @@ SPICEdev B4SOIinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = B4SOIacLoad,
.DEVaccept = NULL,
- .DEVdestroy = B4SOIdestroy,
+ .DEVdestroy = NULL,
.DEVmodDelete = B4SOImDelete,
- .DEVdelete = B4SOIdelete,
+ .DEVdelete = NULL,
.DEVsetic = B4SOIgetic,
.DEVask = B4SOIask,
.DEVmodAsk = B4SOImAsk,
diff --git a/src/spicelib/devices/cap/Makefile.am b/src/spicelib/devices/cap/Makefile.am
index 4205040ae..2147a2262 100644
--- a/src/spicelib/devices/cap/Makefile.am
+++ b/src/spicelib/devices/cap/Makefile.am
@@ -7,8 +7,6 @@ libcap_la_SOURCES = \
capacld.c \
capask.c \
capdefs.h \
- capdel.c \
- capdest.c \
capext.h \
capgetic.c \
capinit.c \
@@ -16,7 +14,6 @@ libcap_la_SOURCES = \
capitf.h \
capload.c \
capmask.c \
- capmdel.c \
capmpar.c \
capparam.c \
cappzld.c \
diff --git a/src/spicelib/devices/cap/capdel.c b/src/spicelib/devices/cap/capdel.c
deleted file mode 100644
index 20d5187c2..000000000
--- a/src/spicelib/devices/cap/capdel.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-Modified: September 2003 Paolo Nenzi
-**********/
-
-#include "ngspice/ngspice.h"
-#include "capdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-CAPdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/cap/capdest.c b/src/spicelib/devices/cap/capdest.c
deleted file mode 100644
index 36d28510f..000000000
--- a/src/spicelib/devices/cap/capdest.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-Modified: September 2003 Paolo Nenzi
-**********/
-
-#include "ngspice/ngspice.h"
-#include "capdefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-CAPdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/cap/capext.h b/src/spicelib/devices/cap/capext.h
index c4e55d0b1..ef9945b24 100644
--- a/src/spicelib/devices/cap/capext.h
+++ b/src/spicelib/devices/cap/capext.h
@@ -5,12 +5,9 @@ Author: 1985 Thomas L. Quarles
extern int CAPacLoad(GENmodel*,CKTcircuit*);
extern int CAPask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
-extern int CAPdelete(GENinstance*);
-extern void CAPdestroy(void);
extern int CAPgetic(GENmodel*,CKTcircuit*);
extern int CAPload(GENmodel*,CKTcircuit*);
extern int CAPmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
-extern int CAPmDelete(GENmodel*);
extern int CAPmParam(int,IFvalue*,GENmodel*);
extern int CAPparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int CAPpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
diff --git a/src/spicelib/devices/cap/capinit.c b/src/spicelib/devices/cap/capinit.c
index b467bce5a..8cb6ea60d 100644
--- a/src/spicelib/devices/cap/capinit.c
+++ b/src/spicelib/devices/cap/capinit.c
@@ -42,9 +42,9 @@ SPICEdev CAPinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = CAPacLoad,
.DEVaccept = NULL,
- .DEVdestroy = CAPdestroy,
- .DEVmodDelete = CAPmDelete,
- .DEVdelete = CAPdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = CAPgetic,
.DEVask = CAPask,
.DEVmodAsk = CAPmAsk,
diff --git a/src/spicelib/devices/cap/capmdel.c b/src/spicelib/devices/cap/capmdel.c
deleted file mode 100644
index 90f916d0c..000000000
--- a/src/spicelib/devices/cap/capmdel.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-Modified: Spetember 2003 Paolo Nenzi
-**********/
-
-#include "ngspice/ngspice.h"
-#include "capdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-CAPmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/cccs/Makefile.am b/src/spicelib/devices/cccs/Makefile.am
index 566cb2774..0563b829b 100644
--- a/src/spicelib/devices/cccs/Makefile.am
+++ b/src/spicelib/devices/cccs/Makefile.am
@@ -6,14 +6,11 @@ libcccs_la_SOURCES = \
cccs.c \
cccsask.c \
cccsdefs.h \
- cccsdel.c \
- cccsdest.c \
cccsext.h \
cccsinit.c \
cccsinit.h \
cccsitf.h \
cccsload.c \
- cccsmdel.c \
cccspar.c \
cccspzld.c \
cccssacl.c \
diff --git a/src/spicelib/devices/cccs/cccsdel.c b/src/spicelib/devices/cccs/cccsdel.c
deleted file mode 100644
index 2af308407..000000000
--- a/src/spicelib/devices/cccs/cccsdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "cccsdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-CCCSdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/cccs/cccsdest.c b/src/spicelib/devices/cccs/cccsdest.c
deleted file mode 100644
index f43af0291..000000000
--- a/src/spicelib/devices/cccs/cccsdest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "cccsdefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-CCCSdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/cccs/cccsext.h b/src/spicelib/devices/cccs/cccsext.h
index e04166d76..030d24238 100644
--- a/src/spicelib/devices/cccs/cccsext.h
+++ b/src/spicelib/devices/cccs/cccsext.h
@@ -5,10 +5,7 @@ Author: 1985 Thomas L. Quarles
extern int CCCSask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
-extern int CCCSdelete(GENinstance*);
-extern void CCCSdestroy(void);
extern int CCCSload(GENmodel*,CKTcircuit*);
-extern int CCCSmDelete(GENmodel*);
extern int CCCSparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int CCCSpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
extern int CCCSsAcLoad(GENmodel*,CKTcircuit*);
diff --git a/src/spicelib/devices/cccs/cccsinit.c b/src/spicelib/devices/cccs/cccsinit.c
index 98be7bf4f..a8993aebc 100644
--- a/src/spicelib/devices/cccs/cccsinit.c
+++ b/src/spicelib/devices/cccs/cccsinit.c
@@ -42,9 +42,9 @@ SPICEdev CCCSinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = CCCSload,
.DEVaccept = NULL,
- .DEVdestroy = CCCSdestroy,
- .DEVmodDelete = CCCSmDelete,
- .DEVdelete = CCCSdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = NULL,
.DEVask = CCCSask,
.DEVmodAsk = NULL,
diff --git a/src/spicelib/devices/cccs/cccsmdel.c b/src/spicelib/devices/cccs/cccsmdel.c
deleted file mode 100644
index a4b2e2c1d..000000000
--- a/src/spicelib/devices/cccs/cccsmdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "cccsdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-CCCSmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/ccvs/Makefile.am b/src/spicelib/devices/ccvs/Makefile.am
index 3e72d2145..d4919bc1b 100644
--- a/src/spicelib/devices/ccvs/Makefile.am
+++ b/src/spicelib/devices/ccvs/Makefile.am
@@ -6,15 +6,12 @@ libccvs_la_SOURCES = \
ccvs.c \
ccvsask.c \
ccvsdefs.h \
- ccvsdel.c \
- ccvsdest.c \
ccvsext.h \
ccvsfbr.c \
ccvsinit.c \
ccvsinit.h \
ccvsitf.h \
ccvsload.c \
- ccvsmdel.c \
ccvspar.c \
ccvspzld.c \
ccvssacl.c \
diff --git a/src/spicelib/devices/ccvs/ccvsdel.c b/src/spicelib/devices/ccvs/ccvsdel.c
deleted file mode 100644
index 7f5dba9fe..000000000
--- a/src/spicelib/devices/ccvs/ccvsdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "ccvsdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-CCVSdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/ccvs/ccvsdest.c b/src/spicelib/devices/ccvs/ccvsdest.c
deleted file mode 100644
index e8fa2e8af..000000000
--- a/src/spicelib/devices/ccvs/ccvsdest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "ccvsdefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-CCVSdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/ccvs/ccvsext.h b/src/spicelib/devices/ccvs/ccvsext.h
index 7dd27e30a..998ebb273 100644
--- a/src/spicelib/devices/ccvs/ccvsext.h
+++ b/src/spicelib/devices/ccvs/ccvsext.h
@@ -4,11 +4,8 @@ Author: 1985 Thomas L. Quarles
**********/
extern int CCVSask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
-extern int CCVSdelete(GENinstance*);
-extern void CCVSdestroy(void);
extern int CCVSfindBr(CKTcircuit*,GENmodel*,IFuid);
extern int CCVSload(GENmodel*,CKTcircuit*);
-extern int CCVSmDelete(GENmodel*);
extern int CCVSparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int CCVSpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
extern int CCVSsAcLoad(GENmodel*,CKTcircuit*);
diff --git a/src/spicelib/devices/ccvs/ccvsinit.c b/src/spicelib/devices/ccvs/ccvsinit.c
index e779e6fc1..ba0710d48 100644
--- a/src/spicelib/devices/ccvs/ccvsinit.c
+++ b/src/spicelib/devices/ccvs/ccvsinit.c
@@ -42,9 +42,9 @@ SPICEdev CCVSinfo = {
.DEVfindBranch = CCVSfindBr,
.DEVacLoad = CCVSload,
.DEVaccept = NULL,
- .DEVdestroy = CCVSdestroy,
- .DEVmodDelete = CCVSmDelete,
- .DEVdelete = CCVSdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = NULL,
.DEVask = CCVSask,
.DEVmodAsk = NULL,
diff --git a/src/spicelib/devices/ccvs/ccvsmdel.c b/src/spicelib/devices/ccvs/ccvsmdel.c
deleted file mode 100644
index a829e5198..000000000
--- a/src/spicelib/devices/ccvs/ccvsmdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "ccvsdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-CCVSmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/cpl/Makefile.am b/src/spicelib/devices/cpl/Makefile.am
index 821850061..a3da8a735 100644
--- a/src/spicelib/devices/cpl/Makefile.am
+++ b/src/spicelib/devices/cpl/Makefile.am
@@ -6,14 +6,11 @@ libcpl_la_SOURCES = \
cpl.c \
cplask.c \
cpldefs.h \
- cpldest.c \
cplext.h \
cplinit.h \
cplitf.h \
cplmask.c \
- cplmdel.c \
cplparam.c \
- cpldel.c \
cplload.c \
cplmpar.c \
cplsetup.c \
diff --git a/src/spicelib/devices/cpl/cpldel.c b/src/spicelib/devices/cpl/cpldel.c
deleted file mode 100644
index ebb192cc8..000000000
--- a/src/spicelib/devices/cpl/cpldel.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/**********
-Copyright 1992 Regents of the University of California. All rights
-reserved.
-Author: 1992 Charles Hough
-**********/
-
-#include "ngspice/ngspice.h"
-#include "cpldefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-CPLdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/cpl/cpldest.c b/src/spicelib/devices/cpl/cpldest.c
deleted file mode 100644
index 7200aee79..000000000
--- a/src/spicelib/devices/cpl/cpldest.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/**********
-Copyright 1992 Regents of the University of California. All rights
-reserved.
-Author: 1992 Charles Hough
-**********/
-
-#include "ngspice/ngspice.h"
-#include "cpldefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-CPLdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/cpl/cplext.h b/src/spicelib/devices/cpl/cplext.h
index e9575edc1..2225084aa 100644
--- a/src/spicelib/devices/cpl/cplext.h
+++ b/src/spicelib/devices/cpl/cplext.h
@@ -5,11 +5,8 @@ reserved.
/* extern int CPLaccept(CKTcircuit*, GENmodel*); */
extern int CPLask(CKTcircuit*, GENinstance*, int, IFvalue*, IFvalue*);
-extern int CPLdelete(GENinstance*);
-extern void CPLdestroy(void);
extern int CPLload(GENmodel*, CKTcircuit*);
extern int CPLmAsk(CKTcircuit*, GENmodel*, int, IFvalue*);
-extern int CPLmDelete(GENmodel*);
extern int CPLmParam(int,IFvalue*, GENmodel*);
extern int CPLparam(int,IFvalue*, GENinstance*, IFvalue*);
extern int CPLsetup(SMPmatrix*, GENmodel*, CKTcircuit*, int*);
diff --git a/src/spicelib/devices/cpl/cplinit.c b/src/spicelib/devices/cpl/cplinit.c
index 1e3dc3e9e..b6a9aff7c 100644
--- a/src/spicelib/devices/cpl/cplinit.c
+++ b/src/spicelib/devices/cpl/cplinit.c
@@ -42,9 +42,9 @@ SPICEdev CPLinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = NULL,
.DEVaccept = NULL,
- .DEVdestroy = CPLdestroy,
- .DEVmodDelete = CPLmDelete,
- .DEVdelete = CPLdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = NULL,
.DEVask = CPLask,
.DEVmodAsk = CPLmAsk,
diff --git a/src/spicelib/devices/cpl/cplmdel.c b/src/spicelib/devices/cpl/cplmdel.c
deleted file mode 100644
index d1e1cfa1f..000000000
--- a/src/spicelib/devices/cpl/cplmdel.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/**********
-Copyright 1992 Regents of the University of California. All rights
-reserved.
-Author: 1992 Charles Hough
-**********/
-
-
-#include "ngspice/ngspice.h"
-#include "cpldefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-CPLmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/csw/Makefile.am b/src/spicelib/devices/csw/Makefile.am
index 715d29da5..f5ac89b85 100644
--- a/src/spicelib/devices/csw/Makefile.am
+++ b/src/spicelib/devices/csw/Makefile.am
@@ -7,15 +7,12 @@ libcsw_la_SOURCES = \
cswacld.c \
cswask.c \
cswdefs.h \
- cswdel.c \
- cswdest.c \
cswext.h \
cswinit.c \
cswinit.h \
cswitf.h \
cswload.c \
cswmask.c \
- cswmdel.c \
cswmpar.c \
cswnoise.c \
cswparam.c \
diff --git a/src/spicelib/devices/csw/cswdel.c b/src/spicelib/devices/csw/cswdel.c
deleted file mode 100644
index f83042b0c..000000000
--- a/src/spicelib/devices/csw/cswdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Gordon Jacobs
-**********/
-
-#include "ngspice/ngspice.h"
-#include "cswdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-CSWdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/csw/cswdest.c b/src/spicelib/devices/csw/cswdest.c
deleted file mode 100644
index a64f831e3..000000000
--- a/src/spicelib/devices/csw/cswdest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Gordon Jacobs
-**********/
-
-#include "ngspice/ngspice.h"
-#include "cswdefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-CSWdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/csw/cswext.h b/src/spicelib/devices/csw/cswext.h
index 8bdded038..c5f1d3196 100644
--- a/src/spicelib/devices/csw/cswext.h
+++ b/src/spicelib/devices/csw/cswext.h
@@ -6,11 +6,8 @@ Modified: 2000 AlansFixes
extern int CSWask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue *);
extern int CSWacLoad(GENmodel *, CKTcircuit *);
-extern int CSWdelete(GENinstance *);
-extern void CSWdestroy(void);
extern int CSWload(GENmodel *, CKTcircuit *);
extern int CSWmAsk(CKTcircuit *, GENmodel *, int, IFvalue *);
-extern int CSWmDelete(GENmodel *);
extern int CSWmParam(int, IFvalue *, GENmodel *);
extern int CSWparam(int, IFvalue *, GENinstance *, IFvalue *);
extern int CSWpzLoad(GENmodel *, CKTcircuit *, SPcomplex *);
diff --git a/src/spicelib/devices/csw/cswinit.c b/src/spicelib/devices/csw/cswinit.c
index 6a724dbc0..fe69c1a82 100644
--- a/src/spicelib/devices/csw/cswinit.c
+++ b/src/spicelib/devices/csw/cswinit.c
@@ -44,9 +44,9 @@ SPICEdev CSWinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = CSWacLoad,
.DEVaccept = NULL,
- .DEVdestroy = CSWdestroy,
- .DEVmodDelete = CSWmDelete,
- .DEVdelete = CSWdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = NULL,
.DEVask = CSWask,
.DEVmodAsk = CSWmAsk,
diff --git a/src/spicelib/devices/csw/cswmdel.c b/src/spicelib/devices/csw/cswmdel.c
deleted file mode 100644
index 729fd8407..000000000
--- a/src/spicelib/devices/csw/cswmdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Gordon Jacobs
-**********/
-
-#include "ngspice/ngspice.h"
-#include "cswdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-CSWmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/dio/Makefile.am b/src/spicelib/devices/dio/Makefile.am
index abb29045e..bd9e1aacc 100644
--- a/src/spicelib/devices/dio/Makefile.am
+++ b/src/spicelib/devices/dio/Makefile.am
@@ -8,8 +8,6 @@ libdio_la_SOURCES = \
dioask.c \
dioconv.c \
diodefs.h \
- diodel.c \
- diodest.c \
diodisto.c \
diodset.c \
dioext.h \
@@ -19,7 +17,6 @@ libdio_la_SOURCES = \
dioitf.h \
dioload.c \
diomask.c \
- diomdel.c \
diompar.c \
dionoise.c \
dioparam.c \
diff --git a/src/spicelib/devices/dio/diodel.c b/src/spicelib/devices/dio/diodel.c
deleted file mode 100644
index 55e81749a..000000000
--- a/src/spicelib/devices/dio/diodel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "diodefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-DIOdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/dio/diodest.c b/src/spicelib/devices/dio/diodest.c
deleted file mode 100644
index 169d5332e..000000000
--- a/src/spicelib/devices/dio/diodest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "diodefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-DIOdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/dio/dioext.h b/src/spicelib/devices/dio/dioext.h
index 94a493da4..b9bf0b056 100644
--- a/src/spicelib/devices/dio/dioext.h
+++ b/src/spicelib/devices/dio/dioext.h
@@ -7,12 +7,9 @@ Modified: 2000 AlansFixes
extern int DIOacLoad(GENmodel*,CKTcircuit*);
extern int DIOask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
extern int DIOconvTest(GENmodel *,CKTcircuit*);
-extern int DIOdelete(GENinstance*);
-extern void DIOdestroy(void);
extern int DIOgetic(GENmodel*,CKTcircuit*);
extern int DIOload(GENmodel*,CKTcircuit*);
extern int DIOmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
-extern int DIOmDelete(GENmodel*);
extern int DIOmParam(int,IFvalue*,GENmodel*);
extern int DIOparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int DIOpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
diff --git a/src/spicelib/devices/dio/dioinit.c b/src/spicelib/devices/dio/dioinit.c
index 64d64be7d..db9ce3977 100644
--- a/src/spicelib/devices/dio/dioinit.c
+++ b/src/spicelib/devices/dio/dioinit.c
@@ -43,9 +43,9 @@ SPICEdev DIOinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = DIOacLoad,
.DEVaccept = NULL,
- .DEVdestroy = DIOdestroy,
- .DEVmodDelete = DIOmDelete,
- .DEVdelete = DIOdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = DIOgetic,
.DEVask = DIOask,
.DEVmodAsk = DIOmAsk,
diff --git a/src/spicelib/devices/dio/diomdel.c b/src/spicelib/devices/dio/diomdel.c
deleted file mode 100644
index f4d845701..000000000
--- a/src/spicelib/devices/dio/diomdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "diodefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-DIOmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/hfet1/Makefile.am b/src/spicelib/devices/hfet1/Makefile.am
index 5d9ef9eee..6c777ab20 100644
--- a/src/spicelib/devices/hfet1/Makefile.am
+++ b/src/spicelib/devices/hfet1/Makefile.am
@@ -7,8 +7,6 @@ libhfet_la_SOURCES = \
hfetacl.c \
hfetask.c \
hfetdefs.h \
- hfetdel.c \
- hfetdest.c \
hfetext.h \
hfetgetic.c \
hfetinit.c \
@@ -16,7 +14,6 @@ libhfet_la_SOURCES = \
hfetitf.h \
hfetload.c \
hfetmask.c \
- hfetmdel.c \
hfetmpar.c \
hfetparam.c \
hfetpzl.c \
diff --git a/src/spicelib/devices/hfet1/hfetdel.c b/src/spicelib/devices/hfet1/hfetdel.c
deleted file mode 100644
index ca46fe582..000000000
--- a/src/spicelib/devices/hfet1/hfetdel.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 S. Hwang
-**********/
-
-/*
- Imported into hfeta model: Paolo Nenzi 2001
-*/
-
-#include "ngspice/ngspice.h"
-#include "hfetdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-HFETAdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/hfet1/hfetdest.c b/src/spicelib/devices/hfet1/hfetdest.c
deleted file mode 100644
index 7cade9aa3..000000000
--- a/src/spicelib/devices/hfet1/hfetdest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Imported from MacSpice3f4 - Antony Wilson
-Modified: Paolo Nenzi
-**********/
-
-#include "ngspice/ngspice.h"
-#include "hfetdefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-HFETAdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/hfet1/hfetext.h b/src/spicelib/devices/hfet1/hfetext.h
index ee499df29..dc090f196 100644
--- a/src/spicelib/devices/hfet1/hfetext.h
+++ b/src/spicelib/devices/hfet1/hfetext.h
@@ -5,12 +5,9 @@ Modified: Paolo Nenzi
extern int HFETAacLoad(GENmodel*,CKTcircuit*);
extern int HFETAask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
-extern int HFETAdelete(GENinstance*);
-extern void HFETAdestroy(void);
extern int HFETAgetic(GENmodel*,CKTcircuit*);
extern int HFETAload(GENmodel*,CKTcircuit*);
extern int HFETAmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
-extern int HFETAmDelete(GENmodel*);
extern int HFETAmParam(int,IFvalue*,GENmodel*);
extern int HFETAparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int HFETApzLoad(GENmodel*, CKTcircuit*, SPcomplex*);
diff --git a/src/spicelib/devices/hfet1/hfetinit.c b/src/spicelib/devices/hfet1/hfetinit.c
index 802eb0b00..dd4487933 100644
--- a/src/spicelib/devices/hfet1/hfetinit.c
+++ b/src/spicelib/devices/hfet1/hfetinit.c
@@ -42,9 +42,9 @@ SPICEdev HFETAinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = HFETAacLoad,
.DEVaccept = NULL,
- .DEVdestroy = HFETAdestroy,
- .DEVmodDelete = HFETAmDelete,
- .DEVdelete = HFETAdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = HFETAgetic,
.DEVask = HFETAask,
.DEVmodAsk = HFETAmAsk,
diff --git a/src/spicelib/devices/hfet1/hfetmdel.c b/src/spicelib/devices/hfet1/hfetmdel.c
deleted file mode 100644
index 130566802..000000000
--- a/src/spicelib/devices/hfet1/hfetmdel.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 S. Hwang
-**********/
-
-/*
- Imported into hfeta model: Paolo Nenzi 2001
-*/
-
-#include "ngspice/ngspice.h"
-#include "hfetdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-HFETAmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/hfet2/Makefile.am b/src/spicelib/devices/hfet2/Makefile.am
index 743fae0a2..1dbd732ca 100644
--- a/src/spicelib/devices/hfet2/Makefile.am
+++ b/src/spicelib/devices/hfet2/Makefile.am
@@ -7,8 +7,6 @@ libhfet2_la_SOURCES = \
hfet2acl.c \
hfet2ask.c \
hfet2defs.h \
- hfet2del.c \
- hfet2dest.c \
hfet2ext.h \
hfet2getic.c \
hfet2init.c \
@@ -16,7 +14,6 @@ libhfet2_la_SOURCES = \
hfet2itf.h \
hfet2load.c \
hfet2mask.c \
- hfet2mdel.c \
hfet2mpar.c \
hfet2param.c \
hfet2pzl.c \
diff --git a/src/spicelib/devices/hfet2/hfet2del.c b/src/spicelib/devices/hfet2/hfet2del.c
deleted file mode 100644
index e40369863..000000000
--- a/src/spicelib/devices/hfet2/hfet2del.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 S. Hwang
-**********/
-
-/*
- Imported into hfet2 model: Paolo Nenzi 2001
-*/
-
-#include "ngspice/ngspice.h"
-#include "hfet2defs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-HFET2delete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/hfet2/hfet2dest.c b/src/spicelib/devices/hfet2/hfet2dest.c
deleted file mode 100644
index 106865818..000000000
--- a/src/spicelib/devices/hfet2/hfet2dest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Imported from MacSpice3f4 - Antony Wilson
-Modified: Paolo Nenzi
-**********/
-
-#include "ngspice/ngspice.h"
-#include "hfet2defs.h"
-#include "ngspice/suffix.h"
-
-
-void
-HFET2destroy(void)
-{
-}
diff --git a/src/spicelib/devices/hfet2/hfet2ext.h b/src/spicelib/devices/hfet2/hfet2ext.h
index 760e03256..5ff6fd82b 100644
--- a/src/spicelib/devices/hfet2/hfet2ext.h
+++ b/src/spicelib/devices/hfet2/hfet2ext.h
@@ -5,12 +5,9 @@ Author: Trond Ytterdal
extern int HFET2acLoad(GENmodel*,CKTcircuit*);
extern int HFET2ask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
-extern int HFET2delete(GENinstance*);
-extern void HFET2destroy(void);
extern int HFET2getic(GENmodel*,CKTcircuit*);
extern int HFET2load(GENmodel*,CKTcircuit*);
extern int HFET2mAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
-extern int HFET2mDelete(GENmodel*);
extern int HFET2mParam(int,IFvalue*,GENmodel*);
extern int HFET2param(int,IFvalue*,GENinstance*,IFvalue*);
extern int HFET2pzLoad(GENmodel*, CKTcircuit*, SPcomplex*);
diff --git a/src/spicelib/devices/hfet2/hfet2init.c b/src/spicelib/devices/hfet2/hfet2init.c
index 1c8f3ca30..7901d9ed3 100644
--- a/src/spicelib/devices/hfet2/hfet2init.c
+++ b/src/spicelib/devices/hfet2/hfet2init.c
@@ -42,9 +42,9 @@ SPICEdev HFET2info = {
.DEVfindBranch = NULL,
.DEVacLoad = HFET2acLoad,
.DEVaccept = NULL,
- .DEVdestroy = HFET2destroy,
- .DEVmodDelete = HFET2mDelete,
- .DEVdelete = HFET2delete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = HFET2getic,
.DEVask = HFET2ask,
.DEVmodAsk = HFET2mAsk,
diff --git a/src/spicelib/devices/hfet2/hfet2mdel.c b/src/spicelib/devices/hfet2/hfet2mdel.c
deleted file mode 100644
index 904b5d9eb..000000000
--- a/src/spicelib/devices/hfet2/hfet2mdel.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 S. Hwang
-**********/
-
-/*
- Imported into hfet2 model: Paolo Nenzi 2001
-*/
-
-#include "ngspice/ngspice.h"
-#include "hfet2defs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-HFET2mDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/hisim2/Makefile.am b/src/spicelib/devices/hisim2/Makefile.am
index f5e8106e8..8d9090512 100644
--- a/src/spicelib/devices/hisim2/Makefile.am
+++ b/src/spicelib/devices/hisim2/Makefile.am
@@ -10,8 +10,6 @@ libhisim2_la_SOURCES = hisim2.h \
hsm2ask.c \
hsm2cvtest.c \
hsm2def.h \
- hsm2del.c \
- hsm2dest.c \
hsm2eval.c \
hsm2evalenv.h \
hsm2eval_dep.h \
diff --git a/src/spicelib/devices/hisim2/hsm2del.c b/src/spicelib/devices/hisim2/hsm2del.c
deleted file mode 100644
index 00d7c74c6..000000000
--- a/src/spicelib/devices/hisim2/hsm2del.c
+++ /dev/null
@@ -1,69 +0,0 @@
-/***********************************************************************
-
- HiSIM (Hiroshima University STARC IGFET Model)
- Copyright (C) 2014 Hiroshima University & STARC
-
- MODEL NAME : HiSIM
- ( VERSION : 2 SUBVERSION : 8 REVISION : 0 )
-
- FILE : hsm2del.c
-
- Date : 2014.6.5
-
- released by
- Hiroshima University &
- Semiconductor Technology Academic Research Center (STARC)
-***********************************************************************/
-
-/**********************************************************************
-
-The following source code, and all copyrights, trade secrets or other
-intellectual property rights in and to the source code in its entirety,
-is owned by the Hiroshima University and the STARC organization.
-
-All users need to follow the "HiSIM2 Distribution Statement and
-Copyright Notice" attached to HiSIM2 model.
-
------HiSIM2 Distribution Statement and Copyright Notice--------------
-
-Software is distributed as is, completely without warranty or service
-support. Hiroshima University or STARC and its employees are not liable
-for the condition or performance of the software.
-
-Hiroshima University and STARC own the copyright and grant users a perpetual,
-irrevocable, worldwide, non-exclusive, royalty-free license with respect
-to the software as set forth below.
-
-Hiroshima University and STARC hereby disclaim all implied warranties.
-
-Hiroshima University and STARC grant the users the right to modify, copy,
-and redistribute the software and documentation, both within the user's
-organization and externally, subject to the following restrictions
-
-1. The users agree not to charge for Hiroshima University and STARC code
-itself but may charge for additions, extensions, or support.
-
-2. In any product based on the software, the users agree to acknowledge
-Hiroshima University and STARC that developed the software. This
-acknowledgment shall appear in the product documentation.
-
-3. The users agree to reproduce any copyright notice which appears on
-the software on any copy or modification of such made available
-to others."
-
-
-*************************************************************************/
-
-#include "ngspice/ngspice.h"
-#include "hsm2def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/gendefs.h"
-#include "ngspice/suffix.h"
-
-
-int
-HSM2delete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/hisim2/hsm2dest.c b/src/spicelib/devices/hisim2/hsm2dest.c
deleted file mode 100644
index b74cae252..000000000
--- a/src/spicelib/devices/hisim2/hsm2dest.c
+++ /dev/null
@@ -1,65 +0,0 @@
-/***********************************************************************
-
- HiSIM (Hiroshima University STARC IGFET Model)
- Copyright (C) 2014 Hiroshima University & STARC
-
- MODEL NAME : HiSIM
- ( VERSION : 2 SUBVERSION : 8 REVISION : 0 )
-
- FILE : hsm2dest.c
-
- Date : 2014.6.5
-
- released by
- Hiroshima University &
- Semiconductor Technology Academic Research Center (STARC)
-***********************************************************************/
-
-/**********************************************************************
-
-The following source code, and all copyrights, trade secrets or other
-intellectual property rights in and to the source code in its entirety,
-is owned by the Hiroshima University and the STARC organization.
-
-All users need to follow the "HiSIM2 Distribution Statement and
-Copyright Notice" attached to HiSIM2 model.
-
------HiSIM2 Distribution Statement and Copyright Notice--------------
-
-Software is distributed as is, completely without warranty or service
-support. Hiroshima University or STARC and its employees are not liable
-for the condition or performance of the software.
-
-Hiroshima University and STARC own the copyright and grant users a perpetual,
-irrevocable, worldwide, non-exclusive, royalty-free license with respect
-to the software as set forth below.
-
-Hiroshima University and STARC hereby disclaim all implied warranties.
-
-Hiroshima University and STARC grant the users the right to modify, copy,
-and redistribute the software and documentation, both within the user's
-organization and externally, subject to the following restrictions
-
-1. The users agree not to charge for Hiroshima University and STARC code
-itself but may charge for additions, extensions, or support.
-
-2. In any product based on the software, the users agree to acknowledge
-Hiroshima University and STARC that developed the software. This
-acknowledgment shall appear in the product documentation.
-
-3. The users agree to reproduce any copyright notice which appears on
-the software on any copy or modification of such made available
-to others."
-
-
-*************************************************************************/
-
-#include "ngspice/ngspice.h"
-#include "hsm2def.h"
-#include "ngspice/suffix.h"
-
-
-void
-HSM2destroy(void)
-{
-}
diff --git a/src/spicelib/devices/hisim2/hsm2ext.h b/src/spicelib/devices/hisim2/hsm2ext.h
index 8a84cddd8..50ae6e39e 100644
--- a/src/spicelib/devices/hisim2/hsm2ext.h
+++ b/src/spicelib/devices/hisim2/hsm2ext.h
@@ -18,8 +18,6 @@
extern int HSM2acLoad(GENmodel *,CKTcircuit*);
extern int HSM2ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int HSM2convTest(GENmodel *,CKTcircuit*);
-extern int HSM2delete(GENinstance*);
-extern void HSM2destroy(void);
extern int HSM2getic(GENmodel*,CKTcircuit*);
extern int HSM2load(GENmodel*,CKTcircuit*);
extern int HSM2mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
diff --git a/src/spicelib/devices/hisim2/hsm2init.c b/src/spicelib/devices/hisim2/hsm2init.c
index c51b87549..5ee42c8c0 100644
--- a/src/spicelib/devices/hisim2/hsm2init.c
+++ b/src/spicelib/devices/hisim2/hsm2init.c
@@ -42,9 +42,9 @@ SPICEdev HSM2info = {
.DEVfindBranch = NULL,
.DEVacLoad = HSM2acLoad,
.DEVaccept = NULL,
- .DEVdestroy = HSM2destroy,
+ .DEVdestroy = NULL,
.DEVmodDelete = HSM2mDelete,
- .DEVdelete = HSM2delete,
+ .DEVdelete = NULL,
.DEVsetic = HSM2getic,
.DEVask = HSM2ask,
.DEVmodAsk = HSM2mAsk,
diff --git a/src/spicelib/devices/hisimhv1/Makefile.am b/src/spicelib/devices/hisimhv1/Makefile.am
index 44b121f18..a4d828d56 100644
--- a/src/spicelib/devices/hisimhv1/Makefile.am
+++ b/src/spicelib/devices/hisimhv1/Makefile.am
@@ -8,8 +8,6 @@ libhisimhv1_la_SOURCES = hisimhv.h \
hsmhvask.c \
hsmhvcvtest.c \
hsmhvdef.h \
- hsmhvdel.c \
- hsmhvdest.c \
hsmhveval.c \
hsmhveval_qover.h \
hsmhvevalenv.h \
@@ -21,7 +19,6 @@ libhisimhv1_la_SOURCES = hisimhv.h \
hsmhvld.c \
hsmhvld_info_eval.h \
hsmhvmask.c \
- hsmhvmdel.c \
hsmhvmpar.c \
hsmhvnoi.c \
hsmhvpar.c \
diff --git a/src/spicelib/devices/hisimhv1/hsmhvdel.c b/src/spicelib/devices/hisimhv1/hsmhvdel.c
deleted file mode 100644
index 8e1e9d818..000000000
--- a/src/spicelib/devices/hisimhv1/hsmhvdel.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/***********************************************************************
-
- HiSIM (Hiroshima University STARC IGFET Model)
- Copyright (C) 2012 Hiroshima University & STARC
-
- MODEL NAME : HiSIM_HV
- ( VERSION : 1 SUBVERSION : 2 REVISION : 4 )
- Model Parameter VERSION : 1.23
- FILE : hsmhvdel.c
-
- DATE : 2013.04.30
-
- released by
- Hiroshima University &
- Semiconductor Technology Academic Research Center (STARC)
-***********************************************************************/
-
-#include "ngspice/ngspice.h"
-#include "hsmhvdef.h"
-#include "ngspice/sperror.h"
-#include "ngspice/gendefs.h"
-#include "ngspice/suffix.h"
-
-
-int
-HSMHVdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/hisimhv1/hsmhvdest.c b/src/spicelib/devices/hisimhv1/hsmhvdest.c
deleted file mode 100644
index ed75a539d..000000000
--- a/src/spicelib/devices/hisimhv1/hsmhvdest.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/***********************************************************************
-
- HiSIM (Hiroshima University STARC IGFET Model)
- Copyright (C) 2012 Hiroshima University & STARC
-
- MODEL NAME : HiSIM_HV
- ( VERSION : 1 SUBVERSION : 2 REVISION : 4 )
- Model Parameter VERSION : 1.23
- FILE : hsmhvdest.c
-
- DATE : 2013.04.30
-
- released by
- Hiroshima University &
- Semiconductor Technology Academic Research Center (STARC)
-***********************************************************************/
-
-#include "ngspice/ngspice.h"
-#include "hsmhvdef.h"
-#include "ngspice/suffix.h"
-
-
-void
-HSMHVdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/hisimhv1/hsmhvext.h b/src/spicelib/devices/hisimhv1/hsmhvext.h
index 780c7a3cf..8d409d192 100644
--- a/src/spicelib/devices/hisimhv1/hsmhvext.h
+++ b/src/spicelib/devices/hisimhv1/hsmhvext.h
@@ -18,12 +18,9 @@
extern int HSMHVacLoad(GENmodel *,CKTcircuit*);
extern int HSMHVask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int HSMHVconvTest(GENmodel *,CKTcircuit*);
-extern int HSMHVdelete(GENinstance*);
-extern void HSMHVdestroy(void);
extern int HSMHVgetic(GENmodel*,CKTcircuit*);
extern int HSMHVload(GENmodel*,CKTcircuit*);
extern int HSMHVmAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
-extern int HSMHVmDelete(GENmodel*);
extern int HSMHVmParam(int,IFvalue*,GENmodel*);
extern void HSMHVmosCap(CKTcircuit*, double, double, double, double*,
double, double, double, double, double, double,
diff --git a/src/spicelib/devices/hisimhv1/hsmhvinit.c b/src/spicelib/devices/hisimhv1/hsmhvinit.c
index 40cd4a561..52e170d0e 100644
--- a/src/spicelib/devices/hisimhv1/hsmhvinit.c
+++ b/src/spicelib/devices/hisimhv1/hsmhvinit.c
@@ -42,9 +42,9 @@ SPICEdev HSMHVinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = HSMHVacLoad,
.DEVaccept = NULL,
- .DEVdestroy = HSMHVdestroy,
- .DEVmodDelete = HSMHVmDelete,
- .DEVdelete = HSMHVdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = HSMHVgetic,
.DEVask = HSMHVask,
.DEVmodAsk = HSMHVmAsk,
diff --git a/src/spicelib/devices/hisimhv1/hsmhvmdel.c b/src/spicelib/devices/hisimhv1/hsmhvmdel.c
deleted file mode 100644
index 0e8eee4cb..000000000
--- a/src/spicelib/devices/hisimhv1/hsmhvmdel.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/***********************************************************************
-
- HiSIM (Hiroshima University STARC IGFET Model)
- Copyright (C) 2012 Hiroshima University & STARC
-
- MODEL NAME : HiSIM_HV
- ( VERSION : 1 SUBVERSION : 2 REVISION : 4 )
- Model Parameter VERSION : 1.23
- FILE : hsmhvmdel.c
-
- DATE : 2013.04.30
-
- released by
- Hiroshima University &
- Semiconductor Technology Academic Research Center (STARC)
-***********************************************************************/
-
-#include "ngspice/ngspice.h"
-#include "hsmhvdef.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-HSMHVmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/hisimhv2/Makefile.am b/src/spicelib/devices/hisimhv2/Makefile.am
index 520fb0f95..9c48349ee 100644
--- a/src/spicelib/devices/hisimhv2/Makefile.am
+++ b/src/spicelib/devices/hisimhv2/Makefile.am
@@ -8,8 +8,6 @@ libhisimhv2_la_SOURCES = hisimhv2.h \
hsmhv2ask.c \
hsmhv2cvtest.c \
hsmhv2def.h \
- hsmhv2del.c \
- hsmhv2dest.c \
hsmhv2eval.c \
hsmhv2eval_dep.h \
hsmhv2eval_dio.c \
@@ -24,7 +22,6 @@ libhisimhv2_la_SOURCES = hisimhv2.h \
hsmhv2ld.c \
hsmhv2ld_info_eval.h \
hsmhv2mask.c \
- hsmhv2mdel.c \
hsmhv2mpar.c \
hsmhv2noi.c \
hsmhv2par.c \
diff --git a/src/spicelib/devices/hisimhv2/hsmhv2del.c b/src/spicelib/devices/hisimhv2/hsmhv2del.c
deleted file mode 100644
index ea81a14b8..000000000
--- a/src/spicelib/devices/hisimhv2/hsmhv2del.c
+++ /dev/null
@@ -1,72 +0,0 @@
-/***********************************************************************
-
- HiSIM (Hiroshima University STARC IGFET Model)
- Copyright (C) 2014 Hiroshima University & STARC
-
- MODEL NAME : HiSIM_HV
- ( VERSION : 2 SUBVERSION : 2 REVISION : 0 )
- Model Parameter 'VERSION' : 2.20
- FILE : hsmhvdel.c
-
- DATE : 2014.6.11
-
- released by
- Hiroshima University &
- Semiconductor Technology Academic Research Center (STARC)
-***********************************************************************/
-
-/**********************************************************************
-
-The following source code, and all copyrights, trade secrets or other
-intellectual property rights in and to the source code in its entirety,
-is owned by the Hiroshima University and the STARC organization.
-
-All users need to follow the "HISIM_HV Distribution Statement and
-Copyright Notice" attached to HiSIM_HV model.
-
------HISIM_HV Distribution Statement and Copyright Notice--------------
-
-Software is distributed as is, completely without warranty or service
-support. Hiroshima University or STARC and its employees are not liable
-for the condition or performance of the software.
-
-Hiroshima University and STARC own the copyright and grant users a perpetual,
-irrevocable, worldwide, non-exclusive, royalty-free license with respect
-to the software as set forth below.
-
-Hiroshima University and STARC hereby disclaims all implied warranties.
-
-Hiroshima University and STARC grant the users the right to modify, copy,
-and redistribute the software and documentation, both within the user's
-organization and externally, subject to the following restrictions
-
-1. The users agree not to charge for Hiroshima University and STARC code
-itself but may charge for additions, extensions, or support.
-
-2. In any product based on the software, the users agree to acknowledge
-Hiroshima University and STARC that developed the software. This
-acknowledgment shall appear in the product documentation.
-
-3. The users agree to reproduce any copyright notice which appears on
-the software on any copy or modification of such made available
-to others."
-
-Toshimasa Asahara, President, Hiroshima University
-Mitiko Miura-Mattausch, Professor, Hiroshima University
-Katsuhiro Shimohigashi, President&CEO, STARC
-June 2008 (revised October 2011)
-*************************************************************************/
-
-#include "ngspice/ngspice.h"
-#include "hsmhv2def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/gendefs.h"
-#include "ngspice/suffix.h"
-
-
-int
-HSMHV2delete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/hisimhv2/hsmhv2dest.c b/src/spicelib/devices/hisimhv2/hsmhv2dest.c
deleted file mode 100644
index f18b95701..000000000
--- a/src/spicelib/devices/hisimhv2/hsmhv2dest.c
+++ /dev/null
@@ -1,68 +0,0 @@
-/***********************************************************************
-
- HiSIM (Hiroshima University STARC IGFET Model)
- Copyright (C) 2014 Hiroshima University & STARC
-
- MODEL NAME : HiSIM_HV
- ( VERSION : 2 SUBVERSION : 2 REVISION : 0 )
- Model Parameter 'VERSION' : 2.20
- FILE : hsmhvdest.c
-
- DATE : 2014.6.11
-
- released by
- Hiroshima University &
- Semiconductor Technology Academic Research Center (STARC)
-***********************************************************************/
-
-/**********************************************************************
-
-The following source code, and all copyrights, trade secrets or other
-intellectual property rights in and to the source code in its entirety,
-is owned by the Hiroshima University and the STARC organization.
-
-All users need to follow the "HISIM_HV Distribution Statement and
-Copyright Notice" attached to HiSIM_HV model.
-
------HISIM_HV Distribution Statement and Copyright Notice--------------
-
-Software is distributed as is, completely without warranty or service
-support. Hiroshima University or STARC and its employees are not liable
-for the condition or performance of the software.
-
-Hiroshima University and STARC own the copyright and grant users a perpetual,
-irrevocable, worldwide, non-exclusive, royalty-free license with respect
-to the software as set forth below.
-
-Hiroshima University and STARC hereby disclaims all implied warranties.
-
-Hiroshima University and STARC grant the users the right to modify, copy,
-and redistribute the software and documentation, both within the user's
-organization and externally, subject to the following restrictions
-
-1. The users agree not to charge for Hiroshima University and STARC code
-itself but may charge for additions, extensions, or support.
-
-2. In any product based on the software, the users agree to acknowledge
-Hiroshima University and STARC that developed the software. This
-acknowledgment shall appear in the product documentation.
-
-3. The users agree to reproduce any copyright notice which appears on
-the software on any copy or modification of such made available
-to others."
-
-Toshimasa Asahara, President, Hiroshima University
-Mitiko Miura-Mattausch, Professor, Hiroshima University
-Katsuhiro Shimohigashi, President&CEO, STARC
-June 2008 (revised October 2011)
-*************************************************************************/
-
-#include "ngspice/ngspice.h"
-#include "hsmhv2def.h"
-#include "ngspice/suffix.h"
-
-
-void
-HSMHV2destroy(void)
-{
-}
diff --git a/src/spicelib/devices/hisimhv2/hsmhv2ext.h b/src/spicelib/devices/hisimhv2/hsmhv2ext.h
index 28e2f9d66..77d600772 100644
--- a/src/spicelib/devices/hisimhv2/hsmhv2ext.h
+++ b/src/spicelib/devices/hisimhv2/hsmhv2ext.h
@@ -18,12 +18,9 @@
extern int HSMHV2acLoad(GENmodel *,CKTcircuit*);
extern int HSMHV2ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int HSMHV2convTest(GENmodel *,CKTcircuit*);
-extern int HSMHV2delete(GENinstance*);
-extern void HSMHV2destroy(void);
extern int HSMHV2getic(GENmodel*,CKTcircuit*);
extern int HSMHV2load(GENmodel*,CKTcircuit*);
extern int HSMHV2mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
-extern int HSMHV2mDelete(GENmodel*);
extern int HSMHV2mParam(int,IFvalue*,GENmodel*);
extern void HSMHV2mosCap(CKTcircuit*, double, double, double, double*,
double, double, double, double, double, double,
diff --git a/src/spicelib/devices/hisimhv2/hsmhv2init.c b/src/spicelib/devices/hisimhv2/hsmhv2init.c
index fdd9004e8..6f5f536cc 100644
--- a/src/spicelib/devices/hisimhv2/hsmhv2init.c
+++ b/src/spicelib/devices/hisimhv2/hsmhv2init.c
@@ -42,9 +42,9 @@ SPICEdev HSMHV2info = {
.DEVfindBranch = NULL,
.DEVacLoad = HSMHV2acLoad,
.DEVaccept = NULL,
- .DEVdestroy = HSMHV2destroy,
- .DEVmodDelete = HSMHV2mDelete,
- .DEVdelete = HSMHV2delete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = HSMHV2getic,
.DEVask = HSMHV2ask,
.DEVmodAsk = HSMHV2mAsk,
diff --git a/src/spicelib/devices/hisimhv2/hsmhv2mdel.c b/src/spicelib/devices/hisimhv2/hsmhv2mdel.c
deleted file mode 100644
index 940f6e010..000000000
--- a/src/spicelib/devices/hisimhv2/hsmhv2mdel.c
+++ /dev/null
@@ -1,71 +0,0 @@
-/***********************************************************************
-
- HiSIM (Hiroshima University STARC IGFET Model)
- Copyright (C) 2014 Hiroshima University & STARC
-
- MODEL NAME : HiSIM_HV
- ( VERSION : 2 SUBVERSION : 2 REVISION : 0 )
- Model Parameter 'VERSION' : 2.20
- FILE : hsmhvmdel.c
-
- DATE : 2014.6.11
-
- released by
- Hiroshima University &
- Semiconductor Technology Academic Research Center (STARC)
-***********************************************************************/
-
-/**********************************************************************
-
-The following source code, and all copyrights, trade secrets or other
-intellectual property rights in and to the source code in its entirety,
-is owned by the Hiroshima University and the STARC organization.
-
-All users need to follow the "HISIM_HV Distribution Statement and
-Copyright Notice" attached to HiSIM_HV model.
-
------HISIM_HV Distribution Statement and Copyright Notice--------------
-
-Software is distributed as is, completely without warranty or service
-support. Hiroshima University or STARC and its employees are not liable
-for the condition or performance of the software.
-
-Hiroshima University and STARC own the copyright and grant users a perpetual,
-irrevocable, worldwide, non-exclusive, royalty-free license with respect
-to the software as set forth below.
-
-Hiroshima University and STARC hereby disclaims all implied warranties.
-
-Hiroshima University and STARC grant the users the right to modify, copy,
-and redistribute the software and documentation, both within the user's
-organization and externally, subject to the following restrictions
-
-1. The users agree not to charge for Hiroshima University and STARC code
-itself but may charge for additions, extensions, or support.
-
-2. In any product based on the software, the users agree to acknowledge
-Hiroshima University and STARC that developed the software. This
-acknowledgment shall appear in the product documentation.
-
-3. The users agree to reproduce any copyright notice which appears on
-the software on any copy or modification of such made available
-to others."
-
-Toshimasa Asahara, President, Hiroshima University
-Mitiko Miura-Mattausch, Professor, Hiroshima University
-Katsuhiro Shimohigashi, President&CEO, STARC
-June 2008 (revised October 2011)
-*************************************************************************/
-
-#include "ngspice/ngspice.h"
-#include "hsmhv2def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-HSMHV2mDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/ind/Makefile.am b/src/spicelib/devices/ind/Makefile.am
index 5a05ee97b..3268b4d9a 100644
--- a/src/spicelib/devices/ind/Makefile.am
+++ b/src/spicelib/devices/ind/Makefile.am
@@ -7,15 +7,12 @@ libind_la_SOURCES = \
indacld.c \
indask.c \
inddefs.h \
- inddel.c \
- inddest.c \
indext.h \
indinit.c \
indinit.h \
inditf.h \
indload.c \
indmask.c \
- indmdel.c \
indmpar.c \
indparam.c \
indpzld.c \
@@ -29,9 +26,6 @@ libind_la_SOURCES = \
indtrunc.c \
mutacld.c \
mutask.c \
- mutdel.c \
- mutdest.c \
- mutmdel.c \
mutparam.c \
mutpzld.c \
mutsetup.c \
diff --git a/src/spicelib/devices/ind/inddel.c b/src/spicelib/devices/ind/inddel.c
deleted file mode 100644
index 0bca432ae..000000000
--- a/src/spicelib/devices/ind/inddel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "inddefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-INDdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/ind/inddest.c b/src/spicelib/devices/ind/inddest.c
deleted file mode 100644
index 83d4a35dd..000000000
--- a/src/spicelib/devices/ind/inddest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "inddefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-INDdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/ind/indext.h b/src/spicelib/devices/ind/indext.h
index 3fd334818..0e5fc447c 100644
--- a/src/spicelib/devices/ind/indext.h
+++ b/src/spicelib/devices/ind/indext.h
@@ -8,10 +8,7 @@ Author: 1985 Thomas L. Quarles
extern int INDacLoad(GENmodel*,CKTcircuit*);
extern int INDask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
extern int INDmAsk(CKTcircuit*, GENmodel*, int, IFvalue*);
-extern int INDdelete(GENinstance*);
-extern void INDdestroy(void);
extern int INDload(GENmodel*,CKTcircuit*);
-extern int INDmDelete(GENmodel*);
extern int INDmParam(int, IFvalue*, GENmodel*);
extern int INDparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int INDpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
@@ -27,9 +24,6 @@ extern int INDtrunc(GENmodel*,CKTcircuit*,double*);
extern int MUTacLoad(GENmodel*,CKTcircuit*);
extern int MUTask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
-extern int MUTdelete(GENinstance*);
-extern void MUTdestroy(void);
-extern int MUTmDelete(GENmodel*);
extern int MUTparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int MUTpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
extern void MUTsPrint(GENmodel*,CKTcircuit*);
diff --git a/src/spicelib/devices/ind/indinit.c b/src/spicelib/devices/ind/indinit.c
index 517a79e3f..6001ef4e8 100644
--- a/src/spicelib/devices/ind/indinit.c
+++ b/src/spicelib/devices/ind/indinit.c
@@ -42,9 +42,9 @@ SPICEdev INDinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = INDacLoad,
.DEVaccept = NULL,
- .DEVdestroy = INDdestroy,
- .DEVmodDelete = INDmDelete,
- .DEVdelete = INDdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = NULL,
.DEVask = INDask,
.DEVmodAsk = INDmAsk,
@@ -104,9 +104,9 @@ SPICEdev MUTinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = MUTacLoad,
.DEVaccept = NULL,
- .DEVdestroy = MUTdestroy,
- .DEVmodDelete = MUTmDelete,
- .DEVdelete = MUTdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = NULL,
.DEVask = MUTask,
.DEVmodAsk = NULL,
diff --git a/src/spicelib/devices/ind/indmdel.c b/src/spicelib/devices/ind/indmdel.c
deleted file mode 100644
index 5fa94a360..000000000
--- a/src/spicelib/devices/ind/indmdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "inddefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-INDmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/ind/mutdel.c b/src/spicelib/devices/ind/mutdel.c
deleted file mode 100644
index b130cd089..000000000
--- a/src/spicelib/devices/ind/mutdel.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "inddefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-#ifdef MUTUAL
-int
-MUTdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
-#endif /*MUTUAL*/
diff --git a/src/spicelib/devices/ind/mutdest.c b/src/spicelib/devices/ind/mutdest.c
deleted file mode 100644
index 87b511639..000000000
--- a/src/spicelib/devices/ind/mutdest.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "inddefs.h"
-#include "ngspice/suffix.h"
-
-
-#ifdef MUTUAL
-
-void
-MUTdestroy(void)
-{
-}
-
-#endif
diff --git a/src/spicelib/devices/ind/mutmdel.c b/src/spicelib/devices/ind/mutmdel.c
deleted file mode 100644
index 638e00f97..000000000
--- a/src/spicelib/devices/ind/mutmdel.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "inddefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-#ifdef MUTUAL
-int
-MUTmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
-#endif /* MUTUAL */
diff --git a/src/spicelib/devices/isrc/Makefile.am b/src/spicelib/devices/isrc/Makefile.am
index 90443bfc7..c7baffa14 100644
--- a/src/spicelib/devices/isrc/Makefile.am
+++ b/src/spicelib/devices/isrc/Makefile.am
@@ -9,13 +9,11 @@ libisrc_la_SOURCES = \
isrcask.c \
isrcdefs.h \
isrcdel.c \
- isrcdest.c \
isrcext.h \
isrcinit.c \
isrcinit.h \
isrcitf.h \
isrcload.c \
- isrcmdel.c \
isrcpar.c \
isrctemp.c
diff --git a/src/spicelib/devices/isrc/isrcdest.c b/src/spicelib/devices/isrc/isrcdest.c
deleted file mode 100644
index 80b777641..000000000
--- a/src/spicelib/devices/isrc/isrcdest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "isrcdefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-ISRCdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/isrc/isrcext.h b/src/spicelib/devices/isrc/isrcext.h
index 8146c6074..f383c36ec 100644
--- a/src/spicelib/devices/isrc/isrcext.h
+++ b/src/spicelib/devices/isrc/isrcext.h
@@ -7,9 +7,7 @@ extern int ISRCaccept(CKTcircuit*,GENmodel*);
extern int ISRCacLoad(GENmodel*,CKTcircuit*);
extern int ISRCask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
extern int ISRCdelete(GENinstance*);
-extern void ISRCdestroy(void);
extern int ISRCload(GENmodel*,CKTcircuit*);
-extern int ISRCmDelete(GENmodel*);
extern int ISRCparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int ISRCpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
extern int ISRCtemp(GENmodel*,CKTcircuit*);
diff --git a/src/spicelib/devices/isrc/isrcinit.c b/src/spicelib/devices/isrc/isrcinit.c
index f5a8a6744..dca6f3ed0 100644
--- a/src/spicelib/devices/isrc/isrcinit.c
+++ b/src/spicelib/devices/isrc/isrcinit.c
@@ -42,8 +42,8 @@ SPICEdev ISRCinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = ISRCacLoad,
.DEVaccept = ISRCaccept,
- .DEVdestroy = ISRCdestroy,
- .DEVmodDelete = ISRCmDelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
.DEVdelete = ISRCdelete,
.DEVsetic = NULL,
.DEVask = ISRCask,
diff --git a/src/spicelib/devices/isrc/isrcmdel.c b/src/spicelib/devices/isrc/isrcmdel.c
deleted file mode 100644
index 5184d7781..000000000
--- a/src/spicelib/devices/isrc/isrcmdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "isrcdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-ISRCmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/jfet/Makefile.am b/src/spicelib/devices/jfet/Makefile.am
index fc4907373..8c4bed573 100644
--- a/src/spicelib/devices/jfet/Makefile.am
+++ b/src/spicelib/devices/jfet/Makefile.am
@@ -7,8 +7,6 @@ libjfet_la_SOURCES = \
jfetacld.c \
jfetask.c \
jfetdefs.h \
- jfetdel.c \
- jfetdest.c \
jfetdist.c \
jfetdset.c \
jfetext.h \
@@ -18,7 +16,6 @@ libjfet_la_SOURCES = \
jfetitf.h \
jfetload.c \
jfetmask.c \
- jfetmdel.c \
jfetmpar.c \
jfetnoi.c \
jfetpar.c \
diff --git a/src/spicelib/devices/jfet/jfetdel.c b/src/spicelib/devices/jfet/jfetdel.c
deleted file mode 100644
index 02f863bab..000000000
--- a/src/spicelib/devices/jfet/jfetdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "jfetdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-JFETdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/jfet/jfetdest.c b/src/spicelib/devices/jfet/jfetdest.c
deleted file mode 100644
index 7cef1f77a..000000000
--- a/src/spicelib/devices/jfet/jfetdest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "jfetdefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-JFETdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/jfet/jfetext.h b/src/spicelib/devices/jfet/jfetext.h
index d90800e75..761306fc3 100644
--- a/src/spicelib/devices/jfet/jfetext.h
+++ b/src/spicelib/devices/jfet/jfetext.h
@@ -6,12 +6,9 @@ Modified: 2000 AlansFixes
extern int JFETacLoad(GENmodel*,CKTcircuit*);
extern int JFETask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
-extern int JFETdelete(GENinstance*);
-extern void JFETdestroy(void);
extern int JFETgetic(GENmodel*,CKTcircuit*);
extern int JFETload(GENmodel*,CKTcircuit*);
extern int JFETmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
-extern int JFETmDelete(GENmodel*);
extern int JFETmParam(int,IFvalue*,GENmodel*);
extern int JFETparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int JFETpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
diff --git a/src/spicelib/devices/jfet/jfetinit.c b/src/spicelib/devices/jfet/jfetinit.c
index 0e47b487c..2e3868fd3 100644
--- a/src/spicelib/devices/jfet/jfetinit.c
+++ b/src/spicelib/devices/jfet/jfetinit.c
@@ -42,9 +42,9 @@ SPICEdev JFETinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = JFETacLoad,
.DEVaccept = NULL,
- .DEVdestroy = JFETdestroy,
- .DEVmodDelete = JFETmDelete,
- .DEVdelete = JFETdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = JFETgetic,
.DEVask = JFETask,
.DEVmodAsk = JFETmAsk,
diff --git a/src/spicelib/devices/jfet/jfetmdel.c b/src/spicelib/devices/jfet/jfetmdel.c
deleted file mode 100644
index f65a36079..000000000
--- a/src/spicelib/devices/jfet/jfetmdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "jfetdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-JFETmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/jfet2/Makefile.am b/src/spicelib/devices/jfet2/Makefile.am
index f8789cd9b..73af547bc 100644
--- a/src/spicelib/devices/jfet2/Makefile.am
+++ b/src/spicelib/devices/jfet2/Makefile.am
@@ -7,8 +7,6 @@ libjfet2_la_SOURCES = \
jfet2acld.c \
jfet2ask.c \
jfet2defs.h \
- jfet2del.c \
- jfet2dest.c \
jfet2ext.h \
jfet2ic.c \
jfet2init.c \
@@ -16,7 +14,6 @@ libjfet2_la_SOURCES = \
jfet2itf.h \
jfet2load.c \
jfet2mask.c \
- jfet2mdel.c \
jfet2mpar.c \
jfet2noi.c \
jfet2par.c \
diff --git a/src/spicelib/devices/jfet2/jfet2del.c b/src/spicelib/devices/jfet2/jfet2del.c
deleted file mode 100644
index c4f457ab7..000000000
--- a/src/spicelib/devices/jfet2/jfet2del.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********
-Based on jfetdel.c
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-
-Modified to jfet2 for PS model definition ( Anthony E. Parker )
- Copyright 1994 Macquarie University, Sydney Australia.
-**********/
-
-#include "ngspice/ngspice.h"
-#include "jfet2defs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-JFET2delete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/jfet2/jfet2dest.c b/src/spicelib/devices/jfet2/jfet2dest.c
deleted file mode 100644
index db9e122bd..000000000
--- a/src/spicelib/devices/jfet2/jfet2dest.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/**********
-Based on jfetdest.c
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-
-Modified to jfet2 for PS model definition ( Anthony E. Parker )
- Copyright 1994 Macquarie University, Sydney Australia.
-**********/
-
-#include "ngspice/ngspice.h"
-#include "jfet2defs.h"
-#include "ngspice/suffix.h"
-
-
-void
-JFET2destroy(void)
-{
-}
diff --git a/src/spicelib/devices/jfet2/jfet2ext.h b/src/spicelib/devices/jfet2/jfet2ext.h
index de9d6b4e1..b37f8f3af 100644
--- a/src/spicelib/devices/jfet2/jfet2ext.h
+++ b/src/spicelib/devices/jfet2/jfet2ext.h
@@ -9,12 +9,9 @@ Modified to add PS model and new parameter definitions ( Anthony E. Parker )
extern int JFET2acLoad(GENmodel*,CKTcircuit*);
extern int JFET2ask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
-extern int JFET2delete(GENinstance*);
-extern void JFET2destroy(void);
extern int JFET2getic(GENmodel*,CKTcircuit*);
extern int JFET2load(GENmodel*,CKTcircuit*);
extern int JFET2mAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
-extern int JFET2mDelete(GENmodel*);
extern int JFET2mParam(int,IFvalue*,GENmodel*);
extern int JFET2param(int,IFvalue*,GENinstance*,IFvalue*);
extern int JFET2setup(SMPmatrix*,GENmodel*,CKTcircuit*,int*);
diff --git a/src/spicelib/devices/jfet2/jfet2init.c b/src/spicelib/devices/jfet2/jfet2init.c
index 857706f4a..ecfc92730 100644
--- a/src/spicelib/devices/jfet2/jfet2init.c
+++ b/src/spicelib/devices/jfet2/jfet2init.c
@@ -42,9 +42,9 @@ SPICEdev JFET2info = {
.DEVfindBranch = NULL,
.DEVacLoad = JFET2acLoad,
.DEVaccept = NULL,
- .DEVdestroy = JFET2destroy,
- .DEVmodDelete = JFET2mDelete,
- .DEVdelete = JFET2delete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = JFET2getic,
.DEVask = JFET2ask,
.DEVmodAsk = JFET2mAsk,
diff --git a/src/spicelib/devices/jfet2/jfet2mdel.c b/src/spicelib/devices/jfet2/jfet2mdel.c
deleted file mode 100644
index 1a6731c9c..000000000
--- a/src/spicelib/devices/jfet2/jfet2mdel.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********
-based on jfetmdel.c
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-
-Modified to jfet2 for PS model definition ( Anthony E. Parker )
- Copyright 1994 Macquarie University, Sydney Australia.
-**********/
-
-#include "ngspice/ngspice.h"
-#include "jfet2defs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-JFET2mDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/ltra/Makefile.am b/src/spicelib/devices/ltra/Makefile.am
index 42a9c042a..6915f8b6d 100644
--- a/src/spicelib/devices/ltra/Makefile.am
+++ b/src/spicelib/devices/ltra/Makefile.am
@@ -8,15 +8,12 @@ libltra_la_SOURCES = \
ltraacld.c \
ltraask.c \
ltradefs.h \
- ltradel.c \
- ltradest.c \
ltraext.h \
ltrainit.c \
ltrainit.h \
ltraitf.h \
ltraload.c \
ltramask.c \
- ltramdel.c \
ltramisc.c \
ltrampar.c \
ltrapar.c \
diff --git a/src/spicelib/devices/ltra/ltradel.c b/src/spicelib/devices/ltra/ltradel.c
deleted file mode 100644
index 394566a73..000000000
--- a/src/spicelib/devices/ltra/ltradel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1990 Jaijeet S. Roychowdhury
-**********/
-
-#include "ngspice/ngspice.h"
-#include "ltradefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-LTRAdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/ltra/ltradest.c b/src/spicelib/devices/ltra/ltradest.c
deleted file mode 100644
index af83f771f..000000000
--- a/src/spicelib/devices/ltra/ltradest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1990 Jaijeet S. Roychowdhury
-**********/
-
-#include "ngspice/ngspice.h"
-#include "ltradefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-LTRAdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/ltra/ltraext.h b/src/spicelib/devices/ltra/ltraext.h
index b0b93c341..a16d3d241 100644
--- a/src/spicelib/devices/ltra/ltraext.h
+++ b/src/spicelib/devices/ltra/ltraext.h
@@ -8,11 +8,8 @@ Modified: 2000 AlansFixes
extern int LTRAaccept(CKTcircuit*,GENmodel*);
extern int LTRAask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
extern int LTRAacLoad(GENmodel*,CKTcircuit*);
-extern int LTRAdelete(GENinstance*);
-extern void LTRAdestroy(void);
extern int LTRAload(GENmodel*,CKTcircuit*);
extern int LTRAmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
-extern int LTRAmDelete(GENmodel*);
extern int LTRAparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int LTRAmParam(int,IFvalue*,GENmodel*);
extern int LTRAsetup(SMPmatrix*,GENmodel*,CKTcircuit*,int*);
diff --git a/src/spicelib/devices/ltra/ltrainit.c b/src/spicelib/devices/ltra/ltrainit.c
index 97988e7e2..ff1441045 100644
--- a/src/spicelib/devices/ltra/ltrainit.c
+++ b/src/spicelib/devices/ltra/ltrainit.c
@@ -42,9 +42,9 @@ SPICEdev LTRAinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = LTRAacLoad,
.DEVaccept = LTRAaccept,
- .DEVdestroy = LTRAdestroy,
- .DEVmodDelete = LTRAmDelete,
- .DEVdelete = LTRAdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = NULL,
.DEVask = LTRAask,
.DEVmodAsk = LTRAmAsk,
diff --git a/src/spicelib/devices/ltra/ltramdel.c b/src/spicelib/devices/ltra/ltramdel.c
deleted file mode 100644
index 279b52a63..000000000
--- a/src/spicelib/devices/ltra/ltramdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1990 Jaijeet S. Roychowdhury
-**********/
-
-#include "ngspice/ngspice.h"
-#include "ltradefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-LTRAmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/mes/Makefile.am b/src/spicelib/devices/mes/Makefile.am
index 3d0c3b3d5..a802bd9d0 100644
--- a/src/spicelib/devices/mes/Makefile.am
+++ b/src/spicelib/devices/mes/Makefile.am
@@ -7,8 +7,6 @@ libmes_la_SOURCES = \
mesacl.c \
mesask.c \
mesdefs.h \
- mesdel.c \
- mesdest.c \
mesdisto.c \
mesdset.c \
mesext.h \
@@ -18,7 +16,6 @@ libmes_la_SOURCES = \
mesitf.h \
mesload.c \
mesmask.c \
- mesmdel.c \
mesmpar.c \
mesnoise.c \
mesparam.c \
diff --git a/src/spicelib/devices/mes/mesdel.c b/src/spicelib/devices/mes/mesdel.c
deleted file mode 100644
index d45785465..000000000
--- a/src/spicelib/devices/mes/mesdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 S. Hwang
-**********/
-
-#include "ngspice/ngspice.h"
-#include "mesdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-MESdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/mes/mesdest.c b/src/spicelib/devices/mes/mesdest.c
deleted file mode 100644
index 5e99240a4..000000000
--- a/src/spicelib/devices/mes/mesdest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 S. Hwang
-**********/
-
-#include "ngspice/ngspice.h"
-#include "mesdefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-MESdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/mes/mesext.h b/src/spicelib/devices/mes/mesext.h
index 94e896484..9892825a1 100644
--- a/src/spicelib/devices/mes/mesext.h
+++ b/src/spicelib/devices/mes/mesext.h
@@ -6,12 +6,9 @@ Modified: 2000 AlansFixes
extern int MESacLoad(GENmodel*,CKTcircuit*);
extern int MESask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
-extern int MESdelete(GENinstance*);
-extern void MESdestroy(void);
extern int MESgetic(GENmodel*,CKTcircuit*);
extern int MESload(GENmodel*,CKTcircuit*);
extern int MESmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
-extern int MESmDelete(GENmodel*);
extern int MESmParam(int,IFvalue*,GENmodel*);
extern int MESparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int MESpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
diff --git a/src/spicelib/devices/mes/mesinit.c b/src/spicelib/devices/mes/mesinit.c
index 151e5aafe..044fb8a26 100644
--- a/src/spicelib/devices/mes/mesinit.c
+++ b/src/spicelib/devices/mes/mesinit.c
@@ -42,9 +42,9 @@ SPICEdev MESinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = MESacLoad,
.DEVaccept = NULL,
- .DEVdestroy = MESdestroy,
- .DEVmodDelete = MESmDelete,
- .DEVdelete = MESdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = MESgetic,
.DEVask = MESask,
.DEVmodAsk = MESmAsk,
diff --git a/src/spicelib/devices/mes/mesmdel.c b/src/spicelib/devices/mes/mesmdel.c
deleted file mode 100644
index 43d32cfea..000000000
--- a/src/spicelib/devices/mes/mesmdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 S. Hwang
-**********/
-
-#include "ngspice/ngspice.h"
-#include "mesdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-MESmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/mesa/Makefile.am b/src/spicelib/devices/mesa/Makefile.am
index 79e6f7555..9be5afe28 100644
--- a/src/spicelib/devices/mesa/Makefile.am
+++ b/src/spicelib/devices/mesa/Makefile.am
@@ -7,8 +7,6 @@ libmesa_la_SOURCES = \
mesaacl.c \
mesaask.c \
mesadefs.h \
- mesadel.c \
- mesadest.c \
mesaext.h \
mesagetic.c \
mesainit.c \
@@ -16,7 +14,6 @@ libmesa_la_SOURCES = \
mesaitf.h \
mesaload.c \
mesamask.c \
- mesamdel.c \
mesamparam.c \
mesaparam.c \
mesapzl.c \
diff --git a/src/spicelib/devices/mesa/mesadel.c b/src/spicelib/devices/mesa/mesadel.c
deleted file mode 100644
index b1c4f47d4..000000000
--- a/src/spicelib/devices/mesa/mesadel.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 S. Hwang
-**********/
-
-/*
- Imported into mesa model: 2001 Paolo Nenzi
-*/
-
-#include "ngspice/ngspice.h"
-#include "mesadefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-MESAdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/mesa/mesadest.c b/src/spicelib/devices/mesa/mesadest.c
deleted file mode 100644
index e087790eb..000000000
--- a/src/spicelib/devices/mesa/mesadest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1993: T. Ytterdal, K. Lee, M. Shur and T. A. Fjeldly. All rights reserved.
-Author: Trond Ytterdal
-**********/
-
-#include "ngspice/ngspice.h"
-#include "mesadefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-MESAdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/mesa/mesaext.h b/src/spicelib/devices/mesa/mesaext.h
index 2b322d611..ccdc22437 100644
--- a/src/spicelib/devices/mesa/mesaext.h
+++ b/src/spicelib/devices/mesa/mesaext.h
@@ -5,12 +5,9 @@ Author: Trond Ytterdal
extern int MESAacLoad(GENmodel*,CKTcircuit*);
extern int MESAask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
-extern int MESAdelete(GENinstance*);
-extern void MESAdestroy(void);
extern int MESAgetic(GENmodel*,CKTcircuit*);
extern int MESAload(GENmodel*,CKTcircuit*);
extern int MESAmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
-extern int MESAmDelete(GENmodel*);
extern int MESAmParam(int,IFvalue*,GENmodel*);
extern int MESAparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int MESApzLoad(GENmodel*,CKTcircuit*, SPcomplex*);
diff --git a/src/spicelib/devices/mesa/mesainit.c b/src/spicelib/devices/mesa/mesainit.c
index 8d632347d..4fd2a8096 100644
--- a/src/spicelib/devices/mesa/mesainit.c
+++ b/src/spicelib/devices/mesa/mesainit.c
@@ -42,9 +42,9 @@ SPICEdev MESAinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = MESAacLoad,
.DEVaccept = NULL,
- .DEVdestroy = MESAdestroy,
- .DEVmodDelete = MESAmDelete,
- .DEVdelete = MESAdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = MESAgetic,
.DEVask = MESAask,
.DEVmodAsk = MESAmAsk,
diff --git a/src/spicelib/devices/mesa/mesamdel.c b/src/spicelib/devices/mesa/mesamdel.c
deleted file mode 100644
index 1084778f5..000000000
--- a/src/spicelib/devices/mesa/mesamdel.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 S. Hwang
-**********/
-
-/*
- Imported into mesa model: 2001 Paolo Nenzi
-*/
-
-#include "ngspice/ngspice.h"
-#include "mesadefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-MESAmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/mos1/Makefile.am b/src/spicelib/devices/mos1/Makefile.am
index e523c113c..861ac1cac 100644
--- a/src/spicelib/devices/mos1/Makefile.am
+++ b/src/spicelib/devices/mos1/Makefile.am
@@ -9,7 +9,6 @@ libmos1_la_SOURCES = \
mos1conv.c \
mos1defs.h \
mos1del.c \
- mos1dest.c \
mos1dist.c \
mos1dset.c \
mos1ext.h \
@@ -19,7 +18,6 @@ libmos1_la_SOURCES = \
mos1itf.h \
mos1load.c \
mos1mask.c \
- mos1mdel.c \
mos1mpar.c \
mos1noi.c \
mos1par.c \
diff --git a/src/spicelib/devices/mos1/mos1dest.c b/src/spicelib/devices/mos1/mos1dest.c
deleted file mode 100644
index d7993452b..000000000
--- a/src/spicelib/devices/mos1/mos1dest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "mos1defs.h"
-#include "ngspice/suffix.h"
-
-
-void
-MOS1destroy(void)
-{
-}
diff --git a/src/spicelib/devices/mos1/mos1ext.h b/src/spicelib/devices/mos1/mos1ext.h
index a81756679..119a501b4 100644
--- a/src/spicelib/devices/mos1/mos1ext.h
+++ b/src/spicelib/devices/mos1/mos1ext.h
@@ -7,11 +7,9 @@ Modified: 2000 AlansFixes
extern int MOS1acLoad(GENmodel *,CKTcircuit*);
extern int MOS1ask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
extern int MOS1delete(GENinstance*);
-extern void MOS1destroy(void);
extern int MOS1getic(GENmodel*,CKTcircuit*);
extern int MOS1load(GENmodel*,CKTcircuit*);
extern int MOS1mAsk(CKTcircuit *,GENmodel *,int,IFvalue*);
-extern int MOS1mDelete(GENmodel*);
extern int MOS1mParam(int,IFvalue*,GENmodel*);
extern int MOS1param(int,IFvalue*,GENinstance*,IFvalue*);
extern int MOS1pzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
diff --git a/src/spicelib/devices/mos1/mos1init.c b/src/spicelib/devices/mos1/mos1init.c
index 6f1923164..746b13ce9 100644
--- a/src/spicelib/devices/mos1/mos1init.c
+++ b/src/spicelib/devices/mos1/mos1init.c
@@ -42,8 +42,8 @@ SPICEdev MOS1info = {
.DEVfindBranch = NULL,
.DEVacLoad = MOS1acLoad,
.DEVaccept = NULL,
- .DEVdestroy = MOS1destroy,
- .DEVmodDelete = MOS1mDelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
.DEVdelete = MOS1delete,
.DEVsetic = MOS1getic,
.DEVask = MOS1ask,
diff --git a/src/spicelib/devices/mos1/mos1mdel.c b/src/spicelib/devices/mos1/mos1mdel.c
deleted file mode 100644
index 5e95311cc..000000000
--- a/src/spicelib/devices/mos1/mos1mdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "mos1defs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-MOS1mDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/mos2/Makefile.am b/src/spicelib/devices/mos2/Makefile.am
index a27ddc9d2..398c06be8 100644
--- a/src/spicelib/devices/mos2/Makefile.am
+++ b/src/spicelib/devices/mos2/Makefile.am
@@ -9,7 +9,6 @@ libmos2_la_SOURCES = \
mos2conv.c \
mos2defs.h \
mos2del.c \
- mos2dest.c \
mos2dist.c \
mos2dset.c \
mos2ext.h \
@@ -19,7 +18,6 @@ libmos2_la_SOURCES = \
mos2itf.h \
mos2load.c \
mos2mask.c \
- mos2mdel.c \
mos2mpar.c \
mos2noi.c \
mos2par.c \
diff --git a/src/spicelib/devices/mos2/mos2dest.c b/src/spicelib/devices/mos2/mos2dest.c
deleted file mode 100644
index 53450734e..000000000
--- a/src/spicelib/devices/mos2/mos2dest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "mos2defs.h"
-#include "ngspice/suffix.h"
-
-
-void
-MOS2destroy(void)
-{
-}
diff --git a/src/spicelib/devices/mos2/mos2ext.h b/src/spicelib/devices/mos2/mos2ext.h
index 28e46973e..ff9ebd162 100644
--- a/src/spicelib/devices/mos2/mos2ext.h
+++ b/src/spicelib/devices/mos2/mos2ext.h
@@ -9,10 +9,8 @@ extern int MOS2ask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
extern int MOS2mAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
extern int MOS2convTest(GENmodel*,CKTcircuit*);
extern int MOS2delete(GENinstance*);
-extern void MOS2destroy(void);
extern int MOS2getic(GENmodel*,CKTcircuit*);
extern int MOS2load(GENmodel*,CKTcircuit*);
-extern int MOS2mDelete(GENmodel*);
extern int MOS2mParam(int,IFvalue*,GENmodel*);
extern int MOS2param(int,IFvalue*,GENinstance*,IFvalue*);
extern int MOS2pzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
diff --git a/src/spicelib/devices/mos2/mos2init.c b/src/spicelib/devices/mos2/mos2init.c
index 297a0edde..fe6c6559e 100644
--- a/src/spicelib/devices/mos2/mos2init.c
+++ b/src/spicelib/devices/mos2/mos2init.c
@@ -42,8 +42,8 @@ SPICEdev MOS2info = {
.DEVfindBranch = NULL,
.DEVacLoad = MOS2acLoad,
.DEVaccept = NULL,
- .DEVdestroy = MOS2destroy,
- .DEVmodDelete = MOS2mDelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
.DEVdelete = MOS2delete,
.DEVsetic = MOS2getic,
.DEVask = MOS2ask,
diff --git a/src/spicelib/devices/mos2/mos2mdel.c b/src/spicelib/devices/mos2/mos2mdel.c
deleted file mode 100644
index b47d5d254..000000000
--- a/src/spicelib/devices/mos2/mos2mdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "mos2defs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-MOS2mDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/mos3/Makefile.am b/src/spicelib/devices/mos3/Makefile.am
index 7419051a9..393ff7894 100644
--- a/src/spicelib/devices/mos3/Makefile.am
+++ b/src/spicelib/devices/mos3/Makefile.am
@@ -9,7 +9,6 @@ libmos3_la_SOURCES = \
mos3conv.c \
mos3defs.h \
mos3del.c \
- mos3dest.c \
mos3dist.c \
mos3dset.c \
mos3ext.h \
@@ -19,7 +18,6 @@ libmos3_la_SOURCES = \
mos3itf.h \
mos3load.c \
mos3mask.c \
- mos3mdel.c \
mos3mpar.c \
mos3noi.c \
mos3par.c \
diff --git a/src/spicelib/devices/mos3/mos3dest.c b/src/spicelib/devices/mos3/mos3dest.c
deleted file mode 100644
index b5f162e10..000000000
--- a/src/spicelib/devices/mos3/mos3dest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "mos3defs.h"
-#include "ngspice/suffix.h"
-
-
-void
-MOS3destroy(void)
-{
-}
diff --git a/src/spicelib/devices/mos3/mos3ext.h b/src/spicelib/devices/mos3/mos3ext.h
index 12e587f76..956da1c91 100644
--- a/src/spicelib/devices/mos3/mos3ext.h
+++ b/src/spicelib/devices/mos3/mos3ext.h
@@ -8,11 +8,9 @@ extern int MOS3acLoad(GENmodel*,CKTcircuit*);
extern int MOS3ask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
extern int MOS3convTest(GENmodel *,CKTcircuit *);
extern int MOS3delete(GENinstance*);
-extern void MOS3destroy(void);
extern int MOS3getic(GENmodel*,CKTcircuit*);
extern int MOS3load(GENmodel*,CKTcircuit*);
extern int MOS3mAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
-extern int MOS3mDelete(GENmodel*);
extern int MOS3mParam(int,IFvalue*,GENmodel*);
extern int MOS3param(int,IFvalue*,GENinstance*,IFvalue*);
extern int MOS3pzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
diff --git a/src/spicelib/devices/mos3/mos3init.c b/src/spicelib/devices/mos3/mos3init.c
index d962dd88a..b69bdc6f0 100644
--- a/src/spicelib/devices/mos3/mos3init.c
+++ b/src/spicelib/devices/mos3/mos3init.c
@@ -42,8 +42,8 @@ SPICEdev MOS3info = {
.DEVfindBranch = NULL,
.DEVacLoad = MOS3acLoad,
.DEVaccept = NULL,
- .DEVdestroy = MOS3destroy,
- .DEVmodDelete = MOS3mDelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
.DEVdelete = MOS3delete,
.DEVsetic = MOS3getic,
.DEVask = MOS3ask,
diff --git a/src/spicelib/devices/mos3/mos3mdel.c b/src/spicelib/devices/mos3/mos3mdel.c
deleted file mode 100644
index ed2d06e40..000000000
--- a/src/spicelib/devices/mos3/mos3mdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "mos3defs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-MOS3mDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/mos6/Makefile.am b/src/spicelib/devices/mos6/Makefile.am
index 324030804..e0121599d 100644
--- a/src/spicelib/devices/mos6/Makefile.am
+++ b/src/spicelib/devices/mos6/Makefile.am
@@ -8,7 +8,6 @@ libmos6_la_SOURCES = \
mos6conv.c \
mos6defs.h \
mos6del.c \
- mos6dest.c \
mos6ext.h \
mos6ic.c \
mos6init.c \
@@ -16,7 +15,6 @@ libmos6_la_SOURCES = \
mos6itf.h \
mos6load.c \
mos6mask.c \
- mos6mdel.c \
mos6mpar.c \
mos6par.c \
mos6set.c \
diff --git a/src/spicelib/devices/mos6/mos6dest.c b/src/spicelib/devices/mos6/mos6dest.c
deleted file mode 100644
index 23f48d53c..000000000
--- a/src/spicelib/devices/mos6/mos6dest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1989 Takayasu Sakurai
-**********/
-
-#include "ngspice/ngspice.h"
-#include "mos6defs.h"
-#include "ngspice/suffix.h"
-
-
-void
-MOS6destroy(void)
-{
-}
diff --git a/src/spicelib/devices/mos6/mos6ext.h b/src/spicelib/devices/mos6/mos6ext.h
index 8bacf5ed0..77f9f6b53 100644
--- a/src/spicelib/devices/mos6/mos6ext.h
+++ b/src/spicelib/devices/mos6/mos6ext.h
@@ -6,11 +6,9 @@ Author: 1985 Thomas L. Quarles
extern int MOS6acLoad(GENmodel *,CKTcircuit*);
extern int MOS6ask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
extern int MOS6delete(GENinstance*);
-extern void MOS6destroy(void);
extern int MOS6getic(GENmodel*,CKTcircuit*);
extern int MOS6load(GENmodel*,CKTcircuit*);
extern int MOS6mAsk(CKTcircuit *,GENmodel *,int,IFvalue*);
-extern int MOS6mDelete(GENmodel*);
extern int MOS6mParam(int,IFvalue*,GENmodel*);
extern int MOS6param(int,IFvalue*,GENinstance*,IFvalue*);
extern int MOS6pzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
diff --git a/src/spicelib/devices/mos6/mos6init.c b/src/spicelib/devices/mos6/mos6init.c
index a4273df19..9fa5ef000 100644
--- a/src/spicelib/devices/mos6/mos6init.c
+++ b/src/spicelib/devices/mos6/mos6init.c
@@ -42,8 +42,8 @@ SPICEdev MOS6info = {
.DEVfindBranch = NULL,
.DEVacLoad = NULL,
.DEVaccept = NULL,
- .DEVdestroy = MOS6destroy,
- .DEVmodDelete = MOS6mDelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
.DEVdelete = MOS6delete,
.DEVsetic = MOS6getic,
.DEVask = MOS6ask,
diff --git a/src/spicelib/devices/mos6/mos6mdel.c b/src/spicelib/devices/mos6/mos6mdel.c
deleted file mode 100644
index cd148fbc4..000000000
--- a/src/spicelib/devices/mos6/mos6mdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "mos6defs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-MOS6mDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/mos9/Makefile.am b/src/spicelib/devices/mos9/Makefile.am
index 5db83e4c0..ef11ba738 100644
--- a/src/spicelib/devices/mos9/Makefile.am
+++ b/src/spicelib/devices/mos9/Makefile.am
@@ -9,7 +9,6 @@ libmos9_la_SOURCES = \
mos9conv.c \
mos9defs.h \
mos9del.c \
- mos9dest.c \
mos9dist.c \
mos9dset.c \
mos9ext.h \
@@ -19,7 +18,6 @@ libmos9_la_SOURCES = \
mos9itf.h \
mos9load.c \
mos9mask.c \
- mos9mdel.c \
mos9mpar.c \
mos9noi.c \
mos9par.c \
diff --git a/src/spicelib/devices/mos9/mos9dest.c b/src/spicelib/devices/mos9/mos9dest.c
deleted file mode 100644
index 961f52c46..000000000
--- a/src/spicelib/devices/mos9/mos9dest.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-Modified: Alan Gillespie
-**********/
-
-#include "ngspice/ngspice.h"
-#include "mos9defs.h"
-#include "ngspice/suffix.h"
-
-
-void
-MOS9destroy(void)
-{
-}
diff --git a/src/spicelib/devices/mos9/mos9ext.h b/src/spicelib/devices/mos9/mos9ext.h
index 985be5ed8..e4ac75db0 100644
--- a/src/spicelib/devices/mos9/mos9ext.h
+++ b/src/spicelib/devices/mos9/mos9ext.h
@@ -8,11 +8,9 @@ extern int MOS9acLoad(GENmodel*,CKTcircuit*);
extern int MOS9ask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
extern int MOS9convTest(GENmodel *,CKTcircuit *);
extern int MOS9delete(GENinstance*);
-extern void MOS9destroy(void);
extern int MOS9getic(GENmodel*,CKTcircuit*);
extern int MOS9load(GENmodel*,CKTcircuit*);
extern int MOS9mAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
-extern int MOS9mDelete(GENmodel*);
extern int MOS9mParam(int,IFvalue*,GENmodel*);
extern int MOS9param(int,IFvalue*,GENinstance*,IFvalue*);
extern int MOS9pzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
diff --git a/src/spicelib/devices/mos9/mos9init.c b/src/spicelib/devices/mos9/mos9init.c
index 292c6bfc6..84ba1eb8a 100644
--- a/src/spicelib/devices/mos9/mos9init.c
+++ b/src/spicelib/devices/mos9/mos9init.c
@@ -42,8 +42,8 @@ SPICEdev MOS9info = {
.DEVfindBranch = NULL,
.DEVacLoad = MOS9acLoad,
.DEVaccept = NULL,
- .DEVdestroy = MOS9destroy,
- .DEVmodDelete = MOS9mDelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
.DEVdelete = MOS9delete,
.DEVsetic = MOS9getic,
.DEVask = MOS9ask,
diff --git a/src/spicelib/devices/mos9/mos9mdel.c b/src/spicelib/devices/mos9/mos9mdel.c
deleted file mode 100644
index d9c9a21e6..000000000
--- a/src/spicelib/devices/mos9/mos9mdel.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-Modified: Alan Gillespie
-**********/
-
-#include "ngspice/ngspice.h"
-#include "mos9defs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-MOS9mDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/nbjt/Makefile.am b/src/spicelib/devices/nbjt/Makefile.am
index 4a5c3ee8a..02e440020 100644
--- a/src/spicelib/devices/nbjt/Makefile.am
+++ b/src/spicelib/devices/nbjt/Makefile.am
@@ -8,14 +8,12 @@ libnbjt_la_SOURCES = \
nbjtask.c \
nbjtdefs.h \
nbjtdel.c \
- nbjtdest.c \
nbjtdump.c \
nbjtext.h \
nbjtinit.c \
nbjtinit.h \
nbjtitf.h \
nbjtload.c \
- nbjtmdel.c \
nbjtmpar.c \
nbjtparm.c \
nbjtpzld.c \
diff --git a/src/spicelib/devices/nbjt/nbjtdest.c b/src/spicelib/devices/nbjt/nbjtdest.c
deleted file mode 100644
index 7c0aad559..000000000
--- a/src/spicelib/devices/nbjt/nbjtdest.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/**********
-Copyright 1992 Regents of the University of California. All rights reserved.
-Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
-**********/
-
-/*
- * This routine deletes all NBJTs from the circuit and frees all storage they
- * were using. The current implementation has memory leaks.
- */
-
-#include "ngspice/ngspice.h"
-#include "nbjtdefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-NBJTdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/nbjt/nbjtext.h b/src/spicelib/devices/nbjt/nbjtext.h
index d2dbf1923..3d8f5d333 100644
--- a/src/spicelib/devices/nbjt/nbjtext.h
+++ b/src/spicelib/devices/nbjt/nbjtext.h
@@ -9,10 +9,8 @@ Author: 1987 Karti Mayaram
extern int NBJTacLoad(GENmodel *, CKTcircuit *);
extern int NBJTask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue *);
extern int NBJTdelete(GENinstance *);
-extern void NBJTdestroy(void);
extern int NBJTgetic(GENmodel *, CKTcircuit *);
extern int NBJTload(GENmodel *, CKTcircuit *);
-extern int NBJTmDelete(GENmodel *);
extern int NBJTmParam(int, IFvalue *, GENmodel *);
extern int NBJTparam(int, IFvalue *, GENinstance *, IFvalue *);
extern int NBJTpzLoad(GENmodel *, CKTcircuit *, SPcomplex *);
diff --git a/src/spicelib/devices/nbjt/nbjtinit.c b/src/spicelib/devices/nbjt/nbjtinit.c
index af222ffe1..48378d766 100644
--- a/src/spicelib/devices/nbjt/nbjtinit.c
+++ b/src/spicelib/devices/nbjt/nbjtinit.c
@@ -42,8 +42,8 @@ SPICEdev NBJTinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = NBJTacLoad,
.DEVaccept = NULL,
- .DEVdestroy = NBJTdestroy,
- .DEVmodDelete = NBJTmDelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
.DEVdelete = NBJTdelete,
.DEVsetic = NULL,
.DEVask = NBJTask,
diff --git a/src/spicelib/devices/nbjt/nbjtmdel.c b/src/spicelib/devices/nbjt/nbjtmdel.c
deleted file mode 100644
index 9f1ac2307..000000000
--- a/src/spicelib/devices/nbjt/nbjtmdel.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********
-Copyright 1992 Regents of the University of California. All rights reserved.
-Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
-**********/
-
-/*
- * This routine deletes a NBJT model from the circuit and frees the storage
- * it was using. returns an error if the model has instances
- */
-
-#include "ngspice/ngspice.h"
-#include "nbjtdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-NBJTmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/nbjt2/Makefile.am b/src/spicelib/devices/nbjt2/Makefile.am
index 08ed45a07..fdf5c0e18 100644
--- a/src/spicelib/devices/nbjt2/Makefile.am
+++ b/src/spicelib/devices/nbjt2/Makefile.am
@@ -8,14 +8,12 @@ libnbjt2_la_SOURCES = \
nbt2ask.c \
nbjt2def.h \
nbt2del.c \
- nbt2dest.c \
nbt2dump.c \
nbjt2ext.h \
nbt2init.c \
nbt2init.h \
nbjt2itf.h \
nbt2load.c \
- nbt2mdel.c \
nbt2mpar.c \
nbt2parm.c \
nbt2pzld.c \
diff --git a/src/spicelib/devices/nbjt2/nbjt2ext.h b/src/spicelib/devices/nbjt2/nbjt2ext.h
index f7d14d450..3e6ec0b96 100644
--- a/src/spicelib/devices/nbjt2/nbjt2ext.h
+++ b/src/spicelib/devices/nbjt2/nbjt2ext.h
@@ -10,10 +10,8 @@ Author: 1987 Karti Mayaram
extern int NBJT2acLoad(GENmodel *, CKTcircuit *);
extern int NBJT2ask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue *);
extern int NBJT2delete(GENinstance *);
-extern void NBJT2destroy(void);
extern int NBJT2getic(GENmodel *, CKTcircuit *);
extern int NBJT2load(GENmodel *, CKTcircuit *);
-extern int NBJT2mDelete(GENmodel *);
extern int NBJT2mParam(int, IFvalue *, GENmodel *);
extern int NBJT2param(int, IFvalue *, GENinstance *, IFvalue *);
extern int NBJT2pzLoad(GENmodel *, CKTcircuit *, SPcomplex *);
diff --git a/src/spicelib/devices/nbjt2/nbt2dest.c b/src/spicelib/devices/nbjt2/nbt2dest.c
deleted file mode 100644
index e3cf03312..000000000
--- a/src/spicelib/devices/nbjt2/nbt2dest.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/**********
-Copyright 1992 Regents of the University of California. All rights reserved.
-Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
-**********/
-
-/*
- * This routine deletes all NBJT2s from the circuit and frees all storage
- * they were using. The current implementation has memory leaks.
- */
-
-#include "ngspice/ngspice.h"
-#include "nbjt2def.h"
-#include "ngspice/suffix.h"
-
-
-void
-NBJT2destroy(void)
-{
-}
diff --git a/src/spicelib/devices/nbjt2/nbt2init.c b/src/spicelib/devices/nbjt2/nbt2init.c
index a0c9f8653..d76e326ec 100644
--- a/src/spicelib/devices/nbjt2/nbt2init.c
+++ b/src/spicelib/devices/nbjt2/nbt2init.c
@@ -42,8 +42,8 @@ SPICEdev NBJT2info = {
.DEVfindBranch = NULL,
.DEVacLoad = NBJT2acLoad,
.DEVaccept = NULL,
- .DEVdestroy = NBJT2destroy,
- .DEVmodDelete = NBJT2mDelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
.DEVdelete = NBJT2delete,
.DEVsetic = NULL,
.DEVask = NBJT2ask,
diff --git a/src/spicelib/devices/nbjt2/nbt2mdel.c b/src/spicelib/devices/nbjt2/nbt2mdel.c
deleted file mode 100644
index f156c86b9..000000000
--- a/src/spicelib/devices/nbjt2/nbt2mdel.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********
-Copyright 1992 Regents of the University of California. All rights reserved.
-Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
-**********/
-
-/*
- * This routine deletes a NBJT2 model from the circuit and frees the storage
- * it was using. returns an error if the model has instances
- */
-
-#include "ngspice/ngspice.h"
-#include "nbjt2def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-NBJT2mDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/ndev/Makefile.am b/src/spicelib/devices/ndev/Makefile.am
index ce0f7deee..da761fd44 100644
--- a/src/spicelib/devices/ndev/Makefile.am
+++ b/src/spicelib/devices/ndev/Makefile.am
@@ -8,8 +8,6 @@ libndev_la_SOURCES = \
ndevaccept.c \
ndevask.c \
ndevdefs.h \
- ndevdel.c \
- ndevdest.c \
ndevdump.c \
ndevext.h \
ndevexch.h \
diff --git a/src/spicelib/devices/ndev/ndevdel.c b/src/spicelib/devices/ndev/ndevdel.c
deleted file mode 100644
index 93dd30fa3..000000000
--- a/src/spicelib/devices/ndev/ndevdel.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/**********
-Permit to use it as your wish.
-Author: 2007 Gong Ding, gdiso@ustc.edu
-University of Science and Technology of China
-**********/
-
-#include "ngspice/ngspice.h"
-#include "ndevdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-NDEVdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/ndev/ndevdest.c b/src/spicelib/devices/ndev/ndevdest.c
deleted file mode 100644
index fb99e5a64..000000000
--- a/src/spicelib/devices/ndev/ndevdest.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/**********
-Permit to use it as your wish.
-Author: 2007 Gong Ding, gdiso@ustc.edu
-University of Science and Technology of China
-**********/
-
-#include "ngspice/ngspice.h"
-#include "ndevdefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-NDEVdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/ndev/ndevext.h b/src/spicelib/devices/ndev/ndevext.h
index 78a4543ba..66e6bc8a5 100644
--- a/src/spicelib/devices/ndev/ndevext.h
+++ b/src/spicelib/devices/ndev/ndevext.h
@@ -9,8 +9,6 @@ Author: 1987 Karti Mayaram
extern int NDEVacLoad(GENmodel *, CKTcircuit *);
extern int NDEVask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue *);
-extern int NDEVdelete(GENinstance *);
-extern void NDEVdestroy(void);
extern int NDEVgetic(GENmodel *, CKTcircuit *);
extern int NDEVload(GENmodel *, CKTcircuit *);
extern int NDEVaccept(CKTcircuit *, GENmodel *);
diff --git a/src/spicelib/devices/ndev/ndevinit.c b/src/spicelib/devices/ndev/ndevinit.c
index f65046905..ef1b43e78 100644
--- a/src/spicelib/devices/ndev/ndevinit.c
+++ b/src/spicelib/devices/ndev/ndevinit.c
@@ -42,9 +42,9 @@ SPICEdev NDEVinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = NDEVacLoad,
.DEVaccept = NDEVaccept,
- .DEVdestroy = NDEVdestroy,
+ .DEVdestroy = NULL,
.DEVmodDelete = NDEVmDelete,
- .DEVdelete = NDEVdelete,
+ .DEVdelete = NULL,
.DEVsetic = NDEVgetic,
.DEVask = NDEVask,
.DEVmodAsk = NULL,
diff --git a/src/spicelib/devices/numd/Makefile.am b/src/spicelib/devices/numd/Makefile.am
index a9c263e89..51a9102c8 100644
--- a/src/spicelib/devices/numd/Makefile.am
+++ b/src/spicelib/devices/numd/Makefile.am
@@ -8,14 +8,12 @@ libnumd_la_SOURCES = \
numdask.c \
numddefs.h \
numddel.c \
- numddest.c \
numddump.c \
numdext.h \
numdinit.c \
numdinit.h \
numditf.h \
numdload.c \
- numdmdel.c \
numdmpar.c \
numdparm.c \
numdpzld.c \
diff --git a/src/spicelib/devices/numd/numddest.c b/src/spicelib/devices/numd/numddest.c
deleted file mode 100644
index 35fecbaf8..000000000
--- a/src/spicelib/devices/numd/numddest.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/**********
-Copyright 1992 Regents of the University of California. All rights reserved.
-Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
-**********/
-
-/*
- * This routine deletes all NUMDs from the circuit and frees all storage they
- * were using. The current implementation has memory leaks.
- */
-
-#include "ngspice/ngspice.h"
-#include "numddefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-NUMDdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/numd/numdext.h b/src/spicelib/devices/numd/numdext.h
index 27919c0ed..39406ffca 100644
--- a/src/spicelib/devices/numd/numdext.h
+++ b/src/spicelib/devices/numd/numdext.h
@@ -10,10 +10,8 @@ Author: 1987 Karti Mayaram
extern int NUMDacLoad(GENmodel *, CKTcircuit *);
extern int NUMDask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue *);
extern int NUMDdelete(GENinstance *);
-extern void NUMDdestroy(void);
extern int NUMDgetic(GENmodel *, CKTcircuit *);
extern int NUMDload(GENmodel *, CKTcircuit *);
-extern int NUMDmDelete(GENmodel *);
extern int NUMDmParam(int, IFvalue *, GENmodel *);
extern int NUMDparam(int, IFvalue *, GENinstance *, IFvalue *);
extern int NUMDpzLoad(GENmodel *, CKTcircuit *, SPcomplex *);
diff --git a/src/spicelib/devices/numd/numdinit.c b/src/spicelib/devices/numd/numdinit.c
index bf036444a..ba242600b 100644
--- a/src/spicelib/devices/numd/numdinit.c
+++ b/src/spicelib/devices/numd/numdinit.c
@@ -42,8 +42,8 @@ SPICEdev NUMDinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = NUMDacLoad,
.DEVaccept = NULL,
- .DEVdestroy = NUMDdestroy,
- .DEVmodDelete = NUMDmDelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
.DEVdelete = NUMDdelete,
.DEVsetic = NULL,
.DEVask = NUMDask,
diff --git a/src/spicelib/devices/numd/numdmdel.c b/src/spicelib/devices/numd/numdmdel.c
deleted file mode 100644
index 4fbafca96..000000000
--- a/src/spicelib/devices/numd/numdmdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1992 Regents of the University of California. All rights reserved.
-Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
-**********/
-
-#include "ngspice/ngspice.h"
-#include "numddefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-NUMDmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/numd2/Makefile.am b/src/spicelib/devices/numd2/Makefile.am
index d4734642b..f6ef98b6a 100644
--- a/src/spicelib/devices/numd2/Makefile.am
+++ b/src/spicelib/devices/numd2/Makefile.am
@@ -8,14 +8,12 @@ libnumd2_la_SOURCES = \
nud2ask.c \
numd2def.h \
nud2del.c \
- nud2dest.c \
nud2dump.c \
numd2ext.h \
numd2init.c \
numd2init.h \
numd2itf.h \
nud2load.c \
- nud2mdel.c \
nud2mpar.c \
nud2parm.c \
nud2pzld.c \
diff --git a/src/spicelib/devices/numd2/nud2dest.c b/src/spicelib/devices/numd2/nud2dest.c
deleted file mode 100644
index c8b8c6817..000000000
--- a/src/spicelib/devices/numd2/nud2dest.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/**********
-Copyright 1992 Regents of the University of California. All rights reserved.
-Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
-**********/
-
-/*
- * This routine deletes all NUMD2s from the circuit and frees all storage
- * they were using. The current implementation has memory leaks.
- */
-
-#include "ngspice/ngspice.h"
-#include "numd2def.h"
-#include "ngspice/suffix.h"
-
-
-void
-NUMD2destroy(void)
-{
-}
diff --git a/src/spicelib/devices/numd2/nud2mdel.c b/src/spicelib/devices/numd2/nud2mdel.c
deleted file mode 100644
index 52cb8e85c..000000000
--- a/src/spicelib/devices/numd2/nud2mdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1992 Regents of the University of California. All rights reserved.
-Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
-**********/
-
-#include "ngspice/ngspice.h"
-#include "numd2def.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-NUMD2mDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/numd2/numd2ext.h b/src/spicelib/devices/numd2/numd2ext.h
index 50c986417..618c4c7c4 100644
--- a/src/spicelib/devices/numd2/numd2ext.h
+++ b/src/spicelib/devices/numd2/numd2ext.h
@@ -10,10 +10,8 @@ Author: 1987 Karti Mayaram
extern int NUMD2acLoad(GENmodel *, CKTcircuit *);
extern int NUMD2ask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue *);
extern int NUMD2delete(GENinstance *);
-extern void NUMD2destroy(void);
extern int NUMD2getic(GENmodel *, CKTcircuit *);
extern int NUMD2load(GENmodel *, CKTcircuit *);
-extern int NUMD2mDelete(GENmodel *);
extern int NUMD2mParam(int, IFvalue *, GENmodel *);
extern int NUMD2param(int, IFvalue *, GENinstance *, IFvalue *);
extern int NUMD2pzLoad(GENmodel *, CKTcircuit *, SPcomplex *);
diff --git a/src/spicelib/devices/numd2/numd2init.c b/src/spicelib/devices/numd2/numd2init.c
index 9d22900b1..6b2ab458a 100644
--- a/src/spicelib/devices/numd2/numd2init.c
+++ b/src/spicelib/devices/numd2/numd2init.c
@@ -42,8 +42,8 @@ SPICEdev NUMD2info = {
.DEVfindBranch = NULL,
.DEVacLoad = NUMD2acLoad,
.DEVaccept = NULL,
- .DEVdestroy = NUMD2destroy,
- .DEVmodDelete = NUMD2mDelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
.DEVdelete = NUMD2delete,
.DEVsetic = NULL,
.DEVask = NUMD2ask,
diff --git a/src/spicelib/devices/numos/Makefile.am b/src/spicelib/devices/numos/Makefile.am
index 0517f2552..5540675a9 100644
--- a/src/spicelib/devices/numos/Makefile.am
+++ b/src/spicelib/devices/numos/Makefile.am
@@ -8,14 +8,12 @@ libnumos_la_SOURCES = \
nummask.c \
numosdef.h \
nummdel.c \
- nummdest.c \
nummdump.c \
numosext.h \
numosinit.c \
numosinit.h \
numositf.h \
nummload.c \
- nummmdel.c \
nummmpar.c \
nummparm.c \
nummpzld.c \
diff --git a/src/spicelib/devices/numos/nummdest.c b/src/spicelib/devices/numos/nummdest.c
deleted file mode 100644
index c68fb8ed5..000000000
--- a/src/spicelib/devices/numos/nummdest.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/**********
-Copyright 1991 Regents of the University of California. All rights reserved.
-Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
-**********/
-
-/*
- * This routine deletes all NUMOSs from the circuit and frees all storage
- * they were using. The current implementation has memory leaks.
- */
-
-#include "ngspice/ngspice.h"
-#include "numosdef.h"
-#include "ngspice/suffix.h"
-
-
-void
-NUMOSdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/numos/nummmdel.c b/src/spicelib/devices/numos/nummmdel.c
deleted file mode 100644
index c05613144..000000000
--- a/src/spicelib/devices/numos/nummmdel.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********
-Copyright 1991 Regents of the University of California. All rights reserved.
-Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
-**********/
-
-/*
- * This routine deletes a NUMOS model from the circuit and frees the storage
- * it was using. returns an error if the model has instances
- */
-
-#include "ngspice/ngspice.h"
-#include "numosdef.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-NUMOSmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/numos/numosext.h b/src/spicelib/devices/numos/numosext.h
index db0975ffd..1aa2d4dd5 100644
--- a/src/spicelib/devices/numos/numosext.h
+++ b/src/spicelib/devices/numos/numosext.h
@@ -10,10 +10,8 @@ Author: 1987 Karti Mayaram
extern int NUMOSacLoad(GENmodel *, CKTcircuit *);
extern int NUMOSask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue *);
extern int NUMOSdelete(GENinstance *);
-extern void NUMOSdestroy(void);
extern int NUMOSgetic(GENmodel *, CKTcircuit *);
extern int NUMOSload(GENmodel *, CKTcircuit *);
-extern int NUMOSmDelete(GENmodel *);
extern int NUMOSmParam(int, IFvalue *, GENmodel *);
extern int NUMOSparam(int, IFvalue *, GENinstance *, IFvalue *);
extern int NUMOSpzLoad(GENmodel *, CKTcircuit *, SPcomplex *);
diff --git a/src/spicelib/devices/numos/numosinit.c b/src/spicelib/devices/numos/numosinit.c
index ee1ef902d..c6d8026f0 100644
--- a/src/spicelib/devices/numos/numosinit.c
+++ b/src/spicelib/devices/numos/numosinit.c
@@ -42,8 +42,8 @@ SPICEdev NUMOSinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = NUMOSacLoad,
.DEVaccept = NULL,
- .DEVdestroy = NUMOSdestroy,
- .DEVmodDelete = NUMOSmDelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
.DEVdelete = NUMOSdelete,
.DEVsetic = NULL,
.DEVask = NUMOSask,
diff --git a/src/spicelib/devices/res/Makefile.am b/src/spicelib/devices/res/Makefile.am
index ab746263d..12f4f43dd 100644
--- a/src/spicelib/devices/res/Makefile.am
+++ b/src/spicelib/devices/res/Makefile.am
@@ -6,15 +6,12 @@ libres_la_SOURCES = \
res.c \
resask.c \
resdefs.h \
- resdel.c \
- resdest.c \
resext.h \
resinit.c \
resinit.h \
resitf.h \
resload.c \
resmask.c \
- resmdel.c \
resmpar.c \
resnoise.c \
resparam.c \
diff --git a/src/spicelib/devices/res/resdel.c b/src/spicelib/devices/res/resdel.c
deleted file mode 100644
index 0f5202863..000000000
--- a/src/spicelib/devices/res/resdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-Modified: Apr 2000 - Paolo Nenzi
-**********/
-
-#include "ngspice/ngspice.h"
-#include "resdefs.h"
-#include "ngspice/sperror.h"
-
-
-int
-RESdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/res/resdest.c b/src/spicelib/devices/res/resdest.c
deleted file mode 100644
index 1d338c864..000000000
--- a/src/spicelib/devices/res/resdest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-Modified: Apr 2000 - Paolo Nenzi
-**********/
-
-#include "ngspice/ngspice.h"
-#include "resdefs.h"
-
-
-void
-RESdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/res/resext.h b/src/spicelib/devices/res/resext.h
index 31c1f3a90..b9f4c48fc 100644
--- a/src/spicelib/devices/res/resext.h
+++ b/src/spicelib/devices/res/resext.h
@@ -4,12 +4,9 @@ Author: 1985 Thomas L. Quarles
**********/
extern int RESask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
-extern int RESdelete(GENinstance*);
-extern void RESdestroy(void);
extern int RESload(GENmodel*,CKTcircuit*);
extern int RESacload(GENmodel*,CKTcircuit*);
extern int RESmodAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
-extern int RESmDelete(GENmodel*);
extern int RESmParam(int,IFvalue*,GENmodel*);
extern int RESparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int RESpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
diff --git a/src/spicelib/devices/res/resinit.c b/src/spicelib/devices/res/resinit.c
index 75dfc13be..a384d8637 100644
--- a/src/spicelib/devices/res/resinit.c
+++ b/src/spicelib/devices/res/resinit.c
@@ -42,9 +42,9 @@ SPICEdev RESinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = RESacload,
.DEVaccept = NULL,
- .DEVdestroy = RESdestroy,
- .DEVmodDelete = RESmDelete,
- .DEVdelete = RESdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = NULL,
.DEVask = RESask,
.DEVmodAsk = RESmodAsk,
diff --git a/src/spicelib/devices/res/resmdel.c b/src/spicelib/devices/res/resmdel.c
deleted file mode 100644
index b7dc54ec2..000000000
--- a/src/spicelib/devices/res/resmdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-Modified: Apr 2000 - Paolo Nenzi
-**********/
-
-#include "ngspice/ngspice.h"
-#include "resdefs.h"
-#include "ngspice/sperror.h"
-
-
-int
-RESmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/soi3/Makefile.am b/src/spicelib/devices/soi3/Makefile.am
index 09b1591dd..bb852423e 100644
--- a/src/spicelib/devices/soi3/Makefile.am
+++ b/src/spicelib/devices/soi3/Makefile.am
@@ -9,8 +9,6 @@ libsoi3_la_SOURCES = \
soi3cap.c \
soi3conv.c \
soi3defs.h \
- soi3del.c \
- soi3dest.c \
soi3ext.h \
soi3ic.c \
soi3init.c \
@@ -18,7 +16,6 @@ libsoi3_la_SOURCES = \
soi3itf.h \
soi3load.c \
soi3mask.c \
- soi3mdel.c \
soi3mpar.c \
soi3nois.c \
soi3par.c \
diff --git a/src/spicelib/devices/soi3/soi3del.c b/src/spicelib/devices/soi3/soi3del.c
deleted file mode 100644
index 55d5b3fda..000000000
--- a/src/spicelib/devices/soi3/soi3del.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/**********
-STAG version 2.7
-Copyright 2000 owned by the United Kingdom Secretary of State for Defence
-acting through the Defence Evaluation and Research Agency.
-Developed by : Jim Benson,
- Department of Electronics and Computer Science,
- University of Southampton,
- United Kingdom.
-With help from : Nele D'Halleweyn, Ketan Mistry, Bill Redman-White, and Craig Easson.
-
-Based on STAG version 2.1
-Developed by : Mike Lee,
-With help from : Bernard Tenbroek, Bill Redman-White, Mike Uren, Chris Edwards
- and John Bunyan.
-Acknowledgements : Rupert Howes and Pete Mole.
-**********/
-
-/**********
-Modified by Paolo Nenzi 2002
-ngspice integration
-**********/
-
-#include "ngspice/ngspice.h"
-#include "soi3defs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-SOI3delete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
-#if 0
- /* fixme, why not ? */
- SOI3instance *inst = (SOI3instance *) gen_inst;
- FREE(inst->SOI3sens);
-#endif
- return OK;
-}
diff --git a/src/spicelib/devices/soi3/soi3dest.c b/src/spicelib/devices/soi3/soi3dest.c
deleted file mode 100644
index e6510283c..000000000
--- a/src/spicelib/devices/soi3/soi3dest.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/**********
-STAG version 2.7
-Copyright 2000 owned by the United Kingdom Secretary of State for Defence
-acting through the Defence Evaluation and Research Agency.
-Developed by : Jim Benson,
- Department of Electronics and Computer Science,
- University of Southampton,
- United Kingdom.
-With help from : Nele D'Halleweyn, Ketan Mistry, Bill Redman-White, and Craig Easson.
-
-Based on STAG version 2.1
-Developed by : Mike Lee,
-With help from : Bernard Tenbroek, Bill Redman-White, Mike Uren, Chris Edwards
- and John Bunyan.
-Acknowledgements : Rupert Howes and Pete Mole.
-**********/
-
-/**********
-Modified by Paolo Nenzi 2002
-ngspice integration
-**********/
-
-#include "ngspice/ngspice.h"
-#include "soi3defs.h"
-#include "ngspice/suffix.h"
-
-
-void
-SOI3destroy(void)
-{
-}
diff --git a/src/spicelib/devices/soi3/soi3ext.h b/src/spicelib/devices/soi3/soi3ext.h
index 75f0f2a24..ba6200813 100644
--- a/src/spicelib/devices/soi3/soi3ext.h
+++ b/src/spicelib/devices/soi3/soi3ext.h
@@ -23,12 +23,9 @@ ngspice integration
extern int SOI3acLoad(GENmodel *,CKTcircuit*);
extern int SOI3ask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
-extern int SOI3delete(GENinstance*);
-extern void SOI3destroy(void);
extern int SOI3getic(GENmodel*,CKTcircuit*);
extern int SOI3load(GENmodel*,CKTcircuit*);
extern int SOI3mAsk(CKTcircuit *,GENmodel *,int,IFvalue*);
-extern int SOI3mDelete(GENmodel*);
extern int SOI3mParam(int,IFvalue*,GENmodel*);
extern void SOI3cap(double,double,double,
double*,double*,double*,double*,
diff --git a/src/spicelib/devices/soi3/soi3init.c b/src/spicelib/devices/soi3/soi3init.c
index cb60a76ed..7ec5c604d 100644
--- a/src/spicelib/devices/soi3/soi3init.c
+++ b/src/spicelib/devices/soi3/soi3init.c
@@ -42,9 +42,9 @@ SPICEdev SOI3info = {
.DEVfindBranch = NULL,
.DEVacLoad = SOI3acLoad,
.DEVaccept = NULL,
- .DEVdestroy = SOI3destroy,
- .DEVmodDelete = SOI3mDelete,
- .DEVdelete = SOI3delete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = SOI3getic,
.DEVask = SOI3ask,
.DEVmodAsk = SOI3mAsk,
diff --git a/src/spicelib/devices/soi3/soi3mdel.c b/src/spicelib/devices/soi3/soi3mdel.c
deleted file mode 100644
index 85a47750a..000000000
--- a/src/spicelib/devices/soi3/soi3mdel.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/**********
-STAG version 2.7
-Copyright 2000 owned by the United Kingdom Secretary of State for Defence
-acting through the Defence Evaluation and Research Agency.
-Developed by : Jim Benson,
- Department of Electronics and Computer Science,
- University of Southampton,
- United Kingdom.
-With help from : Nele D'Halleweyn, Ketan Mistry, Bill Redman-White, and Craig Easson.
-
-Based on STAG version 2.1
-Developed by : Mike Lee,
-With help from : Bernard Tenbroek, Bill Redman-White, Mike Uren, Chris Edwards
- and John Bunyan.
-Acknowledgements : Rupert Howes and Pete Mole.
-**********/
-
-/**********
- Modified by Paolo Nenzi 2002
- ngspice integration
-**********/
-
-#include "ngspice/ngspice.h"
-#include "soi3defs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-SOI3mDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/sw/Makefile.am b/src/spicelib/devices/sw/Makefile.am
index 445c1a790..a8595b927 100644
--- a/src/spicelib/devices/sw/Makefile.am
+++ b/src/spicelib/devices/sw/Makefile.am
@@ -7,15 +7,12 @@ libsw_la_SOURCES = \
swacload.c \
swask.c \
swdefs.h \
- swdelete.c \
- swdest.c \
swext.h \
swinit.c \
swinit.h \
switf.h \
swload.c \
swmask.c \
- swmdel.c \
swmparam.c \
swnoise.c \
swparam.c \
diff --git a/src/spicelib/devices/sw/swdelete.c b/src/spicelib/devices/sw/swdelete.c
deleted file mode 100644
index 7c3ef4d29..000000000
--- a/src/spicelib/devices/sw/swdelete.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Gordon Jacobs
-**********/
-
-#include "ngspice/ngspice.h"
-#include "swdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-SWdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/sw/swdest.c b/src/spicelib/devices/sw/swdest.c
deleted file mode 100644
index 03f408c3d..000000000
--- a/src/spicelib/devices/sw/swdest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Gordon Jacobs
-**********/
-
-#include "ngspice/ngspice.h"
-#include "swdefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-SWdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/sw/swext.h b/src/spicelib/devices/sw/swext.h
index feea0417f..e2d0e3e66 100644
--- a/src/spicelib/devices/sw/swext.h
+++ b/src/spicelib/devices/sw/swext.h
@@ -6,11 +6,8 @@ Modified: 2000 AlansFixes
extern int SWacLoad(GENmodel *, CKTcircuit *);
extern int SWask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue *);
-extern int SWdelete(GENinstance *);
-extern void SWdestroy(void);
extern int SWload(GENmodel *, CKTcircuit *);
extern int SWmAsk(CKTcircuit *, GENmodel *, int, IFvalue *);
-extern int SWmDelete(GENmodel *);
extern int SWmParam(int, IFvalue *, GENmodel *);
extern int SWparam(int, IFvalue *, GENinstance *, IFvalue *);
extern int SWpzLoad(GENmodel *, CKTcircuit *, SPcomplex *);
diff --git a/src/spicelib/devices/sw/swinit.c b/src/spicelib/devices/sw/swinit.c
index 1222545f1..075df7575 100644
--- a/src/spicelib/devices/sw/swinit.c
+++ b/src/spicelib/devices/sw/swinit.c
@@ -43,9 +43,9 @@ SPICEdev SWinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = SWacLoad,
.DEVaccept = NULL,
- .DEVdestroy = SWdestroy,
- .DEVmodDelete = SWmDelete,
- .DEVdelete = SWdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = NULL,
.DEVask = SWask,
.DEVmodAsk = SWmAsk,
diff --git a/src/spicelib/devices/sw/swmdel.c b/src/spicelib/devices/sw/swmdel.c
deleted file mode 100644
index c7e6ac5cc..000000000
--- a/src/spicelib/devices/sw/swmdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Gordon Jacobs
-**********/
-
-#include "ngspice/ngspice.h"
-#include "swdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-SWmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/tra/Makefile.am b/src/spicelib/devices/tra/Makefile.am
index de708838f..5d499d35b 100644
--- a/src/spicelib/devices/tra/Makefile.am
+++ b/src/spicelib/devices/tra/Makefile.am
@@ -8,14 +8,11 @@ libtra_la_SOURCES = \
traacld.c \
traask.c \
tradefs.h \
- tradel.c \
- tradest.c \
traext.h \
trainit.c \
trainit.h \
traitf.h \
traload.c \
- tramdel.c \
traparam.c \
trasetup.c \
tratemp.c \
diff --git a/src/spicelib/devices/tra/tradel.c b/src/spicelib/devices/tra/tradel.c
deleted file mode 100644
index 2ab779109..000000000
--- a/src/spicelib/devices/tra/tradel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "tradefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-TRAdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/tra/tradest.c b/src/spicelib/devices/tra/tradest.c
deleted file mode 100644
index ae9f983ec..000000000
--- a/src/spicelib/devices/tra/tradest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "tradefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-TRAdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/tra/traext.h b/src/spicelib/devices/tra/traext.h
index 43a153249..d79fafd2d 100644
--- a/src/spicelib/devices/tra/traext.h
+++ b/src/spicelib/devices/tra/traext.h
@@ -6,11 +6,8 @@ Author: 1985 Thomas L. Quarles
extern int TRAacLoad(GENmodel*,CKTcircuit*);
extern int TRAaccept(CKTcircuit*,GENmodel*);
extern int TRAask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
-extern int TRAdelete(GENinstance*);
-extern void TRAdestroy(void);
extern int TRAload(GENmodel*,CKTcircuit*);
extern int TRAmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
-extern int TRAmDelete(GENmodel*);
extern int TRAparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int TRAsetup(SMPmatrix*,GENmodel*,CKTcircuit*,int*);
extern int TRAunsetup(GENmodel*,CKTcircuit*);
diff --git a/src/spicelib/devices/tra/trainit.c b/src/spicelib/devices/tra/trainit.c
index ff0853da3..d266e6750 100644
--- a/src/spicelib/devices/tra/trainit.c
+++ b/src/spicelib/devices/tra/trainit.c
@@ -42,9 +42,9 @@ SPICEdev TRAinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = TRAacLoad,
.DEVaccept = TRAaccept,
- .DEVdestroy = TRAdestroy,
- .DEVmodDelete = TRAmDelete,
- .DEVdelete = TRAdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = NULL,
.DEVask = TRAask,
.DEVmodAsk = NULL,
diff --git a/src/spicelib/devices/tra/tramdel.c b/src/spicelib/devices/tra/tramdel.c
deleted file mode 100644
index 39b3d5a1e..000000000
--- a/src/spicelib/devices/tra/tramdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "tradefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-TRAmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/txl/Makefile.am b/src/spicelib/devices/txl/Makefile.am
index 0e07d1a38..5761503e3 100644
--- a/src/spicelib/devices/txl/Makefile.am
+++ b/src/spicelib/devices/txl/Makefile.am
@@ -7,15 +7,12 @@ libtxl_la_SOURCES = \
txlacct.c \
txlask.c \
txldefs.h \
- txldest.c \
txlext.h \
txlfbr.c \
txlinit.h \
txlitf.h \
txlload.c \
- txlmdel.c \
txlparam.c \
- txldel.c \
txlmask.c \
txlmpar.c \
txlsetup.c \
diff --git a/src/spicelib/devices/txl/txldel.c b/src/spicelib/devices/txl/txldel.c
deleted file mode 100644
index 9e97fae5a..000000000
--- a/src/spicelib/devices/txl/txldel.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/**********
-Copyright 1992 Regents of the University of California. All rights
-reserved.
-Author: 1992 Charles Hough
-**********/
-
-#include "ngspice/ngspice.h"
-#include "txldefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-TXLdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/txl/txldest.c b/src/spicelib/devices/txl/txldest.c
deleted file mode 100644
index 84951d75f..000000000
--- a/src/spicelib/devices/txl/txldest.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/**********
-Copyright 1992 Regents of the University of California. All rights
-reserved.
-Author: 1992 Charles Hough
-**********/
-
-#include "ngspice/ngspice.h"
-#include "txldefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-TXLdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/txl/txlext.h b/src/spicelib/devices/txl/txlext.h
index bd827956a..49f7e9a58 100644
--- a/src/spicelib/devices/txl/txlext.h
+++ b/src/spicelib/devices/txl/txlext.h
@@ -1,13 +1,9 @@
extern int TXLaccept(CKTcircuit*,GENmodel*);
extern int TXLask(CKTcircuit*, GENinstance*, int, IFvalue*, IFvalue*);
-extern int TXLdelete(GENinstance*);
-extern void TXLdestroy(void);
extern int TXLfindBr(CKTcircuit*, GENmodel*, IFuid);
extern int TXLload(GENmodel*,CKTcircuit*);
extern int TXLmodAsk(CKTcircuit*, GENmodel*, int, IFvalue*);
-
-extern int TXLmDelete(GENmodel*);
extern int TXLmParam(int,IFvalue*,GENmodel*);
extern int TXLparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int TXLsetup(SMPmatrix*,GENmodel*,CKTcircuit*,int*);
diff --git a/src/spicelib/devices/txl/txlinit.c b/src/spicelib/devices/txl/txlinit.c
index 0a7c06b96..bfdb189bb 100644
--- a/src/spicelib/devices/txl/txlinit.c
+++ b/src/spicelib/devices/txl/txlinit.c
@@ -47,9 +47,9 @@ SPICEdev TXLinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = TXLload,
.DEVaccept = NULL,
- .DEVdestroy = TXLdestroy,
- .DEVmodDelete = TXLmDelete,
- .DEVdelete = TXLdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = NULL,
.DEVask = TXLask,
.DEVmodAsk = TXLmodAsk,
diff --git a/src/spicelib/devices/txl/txlmdel.c b/src/spicelib/devices/txl/txlmdel.c
deleted file mode 100644
index a50ae0c5b..000000000
--- a/src/spicelib/devices/txl/txlmdel.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/**********
-Copyright 1992 Regents of the University of California. All rights
-reserved.
-Author: 1992 Charles Hough
-**********/
-
-#include "ngspice/ngspice.h"
-#include "txldefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-TXLmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/urc/Makefile.am b/src/spicelib/devices/urc/Makefile.am
index 8b6c10a49..232d508ef 100644
--- a/src/spicelib/devices/urc/Makefile.am
+++ b/src/spicelib/devices/urc/Makefile.am
@@ -6,14 +6,11 @@ liburc_la_SOURCES = \
urc.c \
urcask.c \
urcdefs.h \
- urcdel.c \
- urcdest.c \
urcext.h \
urcinit.c \
urcinit.h \
urcitf.h \
urcmask.c \
- urcmdel.c \
urcmpar.c \
urcparam.c \
urcsetup.c
diff --git a/src/spicelib/devices/urc/urcdel.c b/src/spicelib/devices/urc/urcdel.c
deleted file mode 100644
index 8c0c3f58d..000000000
--- a/src/spicelib/devices/urc/urcdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1987 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "urcdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-URCdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/urc/urcdest.c b/src/spicelib/devices/urc/urcdest.c
deleted file mode 100644
index 6c5587cb3..000000000
--- a/src/spicelib/devices/urc/urcdest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1987 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "urcdefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-URCdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/urc/urcext.h b/src/spicelib/devices/urc/urcext.h
index 52ce2cd72..f7880251c 100644
--- a/src/spicelib/devices/urc/urcext.h
+++ b/src/spicelib/devices/urc/urcext.h
@@ -6,10 +6,7 @@ Author: 1985 Thomas L. Quarles
#define _URCEXT_H
extern int URCask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
-extern int URCdelete(GENinstance*);
-extern void URCdestroy(void);
extern int URCmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
-extern int URCmDelete(GENmodel*);
extern int URCmParam(int,IFvalue*,GENmodel*);
extern int URCparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int URCsetup(SMPmatrix*,GENmodel*,CKTcircuit*,int*);
diff --git a/src/spicelib/devices/urc/urcinit.c b/src/spicelib/devices/urc/urcinit.c
index 181465191..1fa5ffd6b 100644
--- a/src/spicelib/devices/urc/urcinit.c
+++ b/src/spicelib/devices/urc/urcinit.c
@@ -42,9 +42,9 @@ SPICEdev URCinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = NULL,
.DEVaccept = NULL,
- .DEVdestroy = URCdestroy,
- .DEVmodDelete = URCmDelete,
- .DEVdelete = URCdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = NULL,
.DEVask = URCask,
.DEVmodAsk = URCmAsk,
diff --git a/src/spicelib/devices/urc/urcmdel.c b/src/spicelib/devices/urc/urcmdel.c
deleted file mode 100644
index e2cab752d..000000000
--- a/src/spicelib/devices/urc/urcmdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1987 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "urcdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-URCmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/vbic/Makefile.am b/src/spicelib/devices/vbic/Makefile.am
index a0aee2cb8..24c60aa7c 100644
--- a/src/spicelib/devices/vbic/Makefile.am
+++ b/src/spicelib/devices/vbic/Makefile.am
@@ -9,7 +9,6 @@ libvbic_la_SOURCES = \
vbicconv.c \
vbicdefs.h \
vbicdel.c \
- vbicdest.c \
vbicext.h \
vbicgetic.c \
vbicinit.c \
@@ -17,7 +16,6 @@ libvbic_la_SOURCES = \
vbicitf.h \
vbicload.c \
vbicmask.c \
- vbicmdel.c \
vbicmpar.c \
vbicnoise.c \
vbicparam.c \
diff --git a/src/spicelib/devices/vbic/vbicdest.c b/src/spicelib/devices/vbic/vbicdest.c
deleted file mode 100644
index 49938319e..000000000
--- a/src/spicelib/devices/vbic/vbicdest.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-Model Author: 1995 Colin McAndrew Motorola
-Spice3 Implementation: 2003 Dietmar Warning DAnalyse GmbH
-**********/
-
-/*
- * This routine deletes all VBICs from the circuit and frees
- * all storage they were using.
- */
-
-#include "ngspice/ngspice.h"
-#include "vbicdefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-VBICdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/vbic/vbicext.h b/src/spicelib/devices/vbic/vbicext.h
index 8a820d3dd..975f75c8e 100644
--- a/src/spicelib/devices/vbic/vbicext.h
+++ b/src/spicelib/devices/vbic/vbicext.h
@@ -12,11 +12,9 @@ extern int VBICacLoad(GENmodel *,CKTcircuit*);
extern int VBICask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int VBICconvTest(GENmodel*,CKTcircuit*);
extern int VBICdelete(GENinstance*);
-extern void VBICdestroy(void);
extern int VBICgetic(GENmodel*,CKTcircuit*);
extern int VBICload(GENmodel*,CKTcircuit*);
extern int VBICmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
-extern int VBICmDelete(GENmodel*);
extern int VBICmParam(int,IFvalue*,GENmodel*);
extern int VBICparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int VBICpzLoad(GENmodel*, CKTcircuit*, SPcomplex*);
diff --git a/src/spicelib/devices/vbic/vbicinit.c b/src/spicelib/devices/vbic/vbicinit.c
index 77fd2531e..d4859355b 100644
--- a/src/spicelib/devices/vbic/vbicinit.c
+++ b/src/spicelib/devices/vbic/vbicinit.c
@@ -47,8 +47,8 @@ SPICEdev VBICinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = VBICacLoad,
.DEVaccept = NULL,
- .DEVdestroy = VBICdestroy,
- .DEVmodDelete = VBICmDelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
.DEVdelete = VBICdelete,
.DEVsetic = VBICgetic,
.DEVask = VBICask,
diff --git a/src/spicelib/devices/vbic/vbicmdel.c b/src/spicelib/devices/vbic/vbicmdel.c
deleted file mode 100644
index 06fe82064..000000000
--- a/src/spicelib/devices/vbic/vbicmdel.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-Model Author: 1995 Colin McAndrew Motorola
-Spice3 Implementation: 2003 Dietmar Warning DAnalyse GmbH
-**********/
-
-/*
- * This routine deletes a VBIC model from the circuit and frees
- * the storage it was using.
- * returns an error if the model has instances
- */
-
-#include "ngspice/ngspice.h"
-#include "vbicdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-VBICmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/vccs/Makefile.am b/src/spicelib/devices/vccs/Makefile.am
index 145693195..c5800f22e 100644
--- a/src/spicelib/devices/vccs/Makefile.am
+++ b/src/spicelib/devices/vccs/Makefile.am
@@ -6,14 +6,11 @@ libvccs_la_SOURCES = \
vccs.c \
vccsask.c \
vccsdefs.h \
- vccsdel.c \
- vccsdest.c \
vccsext.h \
vccsinit.c \
vccsinit.h \
vccsitf.h \
vccsload.c \
- vccsmdel.c \
vccspar.c \
vccspzld.c \
vccssacl.c \
diff --git a/src/spicelib/devices/vccs/vccsdel.c b/src/spicelib/devices/vccs/vccsdel.c
deleted file mode 100644
index b809e2635..000000000
--- a/src/spicelib/devices/vccs/vccsdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "vccsdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-VCCSdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/vccs/vccsdest.c b/src/spicelib/devices/vccs/vccsdest.c
deleted file mode 100644
index 6115e2532..000000000
--- a/src/spicelib/devices/vccs/vccsdest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "vccsdefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-VCCSdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/vccs/vccsext.h b/src/spicelib/devices/vccs/vccsext.h
index 8b6f2f2c6..4220e6888 100644
--- a/src/spicelib/devices/vccs/vccsext.h
+++ b/src/spicelib/devices/vccs/vccsext.h
@@ -4,10 +4,7 @@ Author: 1985 Thomas L. Quarles
**********/
extern int VCCSask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
-extern int VCCSdelete(GENinstance*);
-extern void VCCSdestroy(void);
extern int VCCSload(GENmodel*,CKTcircuit*);
-extern int VCCSmDelete(GENmodel*);
extern int VCCSparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int VCCSpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
extern int VCCSsAcLoad(GENmodel*,CKTcircuit*);
diff --git a/src/spicelib/devices/vccs/vccsinit.c b/src/spicelib/devices/vccs/vccsinit.c
index 1e1ba8002..5fe58f7d2 100644
--- a/src/spicelib/devices/vccs/vccsinit.c
+++ b/src/spicelib/devices/vccs/vccsinit.c
@@ -42,9 +42,9 @@ SPICEdev VCCSinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = VCCSload,
.DEVaccept = NULL,
- .DEVdestroy = VCCSdestroy,
- .DEVmodDelete = VCCSmDelete,
- .DEVdelete = VCCSdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = NULL,
.DEVask = VCCSask,
.DEVmodAsk = NULL,
diff --git a/src/spicelib/devices/vccs/vccsmdel.c b/src/spicelib/devices/vccs/vccsmdel.c
deleted file mode 100644
index 405f3d64c..000000000
--- a/src/spicelib/devices/vccs/vccsmdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "vccsdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-VCCSmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/vcvs/Makefile.am b/src/spicelib/devices/vcvs/Makefile.am
index 8ad37e37b..766be854d 100644
--- a/src/spicelib/devices/vcvs/Makefile.am
+++ b/src/spicelib/devices/vcvs/Makefile.am
@@ -6,15 +6,12 @@ libvcvs_la_SOURCES = \
vcvs.c \
vcvsask.c \
vcvsdefs.h \
- vcvsdel.c \
- vcvsdest.c \
vcvsext.h \
vcvsfbr.c \
vcvsinit.c \
vcvsinit.h \
vcvsitf.h \
vcvsload.c \
- vcvsmdel.c \
vcvspar.c \
vcvspzld.c \
vcvssacl.c \
diff --git a/src/spicelib/devices/vcvs/vcvsdel.c b/src/spicelib/devices/vcvs/vcvsdel.c
deleted file mode 100644
index db3837718..000000000
--- a/src/spicelib/devices/vcvs/vcvsdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "vcvsdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-VCVSdelete(GENinstance *gen_inst)
-{
- NG_IGNORE(gen_inst);
- return OK;
-}
diff --git a/src/spicelib/devices/vcvs/vcvsdest.c b/src/spicelib/devices/vcvs/vcvsdest.c
deleted file mode 100644
index c287fc948..000000000
--- a/src/spicelib/devices/vcvs/vcvsdest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "vcvsdefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-VCVSdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/vcvs/vcvsext.h b/src/spicelib/devices/vcvs/vcvsext.h
index a5ca450ad..c52d0fdbe 100644
--- a/src/spicelib/devices/vcvs/vcvsext.h
+++ b/src/spicelib/devices/vcvs/vcvsext.h
@@ -4,11 +4,8 @@ Author: 1985 Thomas L. Quarles
**********/
extern int VCVSask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
-extern int VCVSdelete(GENinstance*);
-extern void VCVSdestroy(void);
extern int VCVSfindBr(CKTcircuit*,GENmodel*,IFuid);
extern int VCVSload(GENmodel*,CKTcircuit*);
-extern int VCVSmDelete(GENmodel*);
extern int VCVSparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int VCVSpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
extern int VCVSsAcLoad(GENmodel*,CKTcircuit*);
diff --git a/src/spicelib/devices/vcvs/vcvsinit.c b/src/spicelib/devices/vcvs/vcvsinit.c
index 7b5147d88..4dc1a37f7 100644
--- a/src/spicelib/devices/vcvs/vcvsinit.c
+++ b/src/spicelib/devices/vcvs/vcvsinit.c
@@ -42,9 +42,9 @@ SPICEdev VCVSinfo = {
.DEVfindBranch = VCVSfindBr,
.DEVacLoad = VCVSload,
.DEVaccept = NULL,
- .DEVdestroy = VCVSdestroy,
- .DEVmodDelete = VCVSmDelete,
- .DEVdelete = VCVSdelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
+ .DEVdelete = NULL,
.DEVsetic = NULL,
.DEVask = VCVSask,
.DEVmodAsk = NULL,
diff --git a/src/spicelib/devices/vcvs/vcvsmdel.c b/src/spicelib/devices/vcvs/vcvsmdel.c
deleted file mode 100644
index 2609821bf..000000000
--- a/src/spicelib/devices/vcvs/vcvsmdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "vcvsdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-VCVSmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/src/spicelib/devices/vsrc/Makefile.am b/src/spicelib/devices/vsrc/Makefile.am
index 28d5fb38b..0612bab0c 100644
--- a/src/spicelib/devices/vsrc/Makefile.am
+++ b/src/spicelib/devices/vsrc/Makefile.am
@@ -9,14 +9,12 @@ libvsrc_la_SOURCES = \
vsrcask.c \
vsrcdefs.h \
vsrcdel.c \
- vsrcdest.c \
vsrcext.h \
vsrcfbr.c \
vsrcinit.c \
vsrcinit.h \
vsrcitf.h \
vsrcload.c \
- vsrcmdel.c \
vsrcpar.c \
vsrcpzld.c \
vsrcpzs.c \
diff --git a/src/spicelib/devices/vsrc/vsrcdest.c b/src/spicelib/devices/vsrc/vsrcdest.c
deleted file mode 100644
index 561b7c8f9..000000000
--- a/src/spicelib/devices/vsrc/vsrcdest.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "vsrcdefs.h"
-#include "ngspice/suffix.h"
-
-
-void
-VSRCdestroy(void)
-{
-}
diff --git a/src/spicelib/devices/vsrc/vsrcext.h b/src/spicelib/devices/vsrc/vsrcext.h
index 4e2ee8534..80c748a31 100644
--- a/src/spicelib/devices/vsrc/vsrcext.h
+++ b/src/spicelib/devices/vsrc/vsrcext.h
@@ -7,11 +7,9 @@ extern int VSRCaccept(CKTcircuit*,GENmodel*);
extern int VSRCacLoad(GENmodel*,CKTcircuit*);
extern int VSRCask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
extern int VSRCdelete(GENinstance*);
-extern void VSRCdestroy(void);
extern int VSRCfindBr(CKTcircuit*,GENmodel*,IFuid);
extern int VSRCload(GENmodel*,CKTcircuit*);
extern int VSRCmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
-extern int VSRCmDelete(GENmodel*);
extern int VSRCparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int VSRCpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
extern int VSRCsetup(SMPmatrix*,GENmodel*,CKTcircuit*,int*);
diff --git a/src/spicelib/devices/vsrc/vsrcinit.c b/src/spicelib/devices/vsrc/vsrcinit.c
index db0417a0d..aae5d5990 100644
--- a/src/spicelib/devices/vsrc/vsrcinit.c
+++ b/src/spicelib/devices/vsrc/vsrcinit.c
@@ -42,8 +42,8 @@ SPICEdev VSRCinfo = {
.DEVfindBranch = VSRCfindBr,
.DEVacLoad = VSRCacLoad,
.DEVaccept = VSRCaccept,
- .DEVdestroy = VSRCdestroy,
- .DEVmodDelete = VSRCmDelete,
+ .DEVdestroy = NULL,
+ .DEVmodDelete = NULL,
.DEVdelete = VSRCdelete,
.DEVsetic = NULL,
.DEVask = VSRCask,
diff --git a/src/spicelib/devices/vsrc/vsrcmdel.c b/src/spicelib/devices/vsrc/vsrcmdel.c
deleted file mode 100644
index 9971b2f79..000000000
--- a/src/spicelib/devices/vsrc/vsrcmdel.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**********
-Copyright 1990 Regents of the University of California. All rights reserved.
-Author: 1985 Thomas L. Quarles
-**********/
-
-#include "ngspice/ngspice.h"
-#include "vsrcdefs.h"
-#include "ngspice/sperror.h"
-#include "ngspice/suffix.h"
-
-
-int
-VSRCmDelete(GENmodel *gen_model)
-{
- NG_IGNORE(gen_model);
- return OK;
-}
diff --git a/visualc/sharedspice.vcxproj b/visualc/sharedspice.vcxproj
index 2ef2c661c..378c1e305 100644
--- a/visualc/sharedspice.vcxproj
+++ b/visualc/sharedspice.vcxproj
@@ -1250,7 +1250,6 @@
-
@@ -1260,14 +1259,12 @@
-
-
@@ -1285,15 +1282,12 @@
-
-
-
@@ -1307,13 +1301,10 @@
-
-
-
@@ -1328,13 +1319,10 @@
-
-
-
@@ -1347,13 +1335,10 @@
-
-
-
@@ -1366,13 +1351,10 @@
-
-
-
@@ -1384,12 +1366,9 @@
-
-
-
@@ -1403,12 +1382,9 @@
-
-
-
@@ -1422,8 +1398,6 @@
-
-
@@ -1442,8 +1416,6 @@
-
-
@@ -1462,8 +1434,6 @@
-
-
@@ -1483,8 +1453,6 @@
-
-
@@ -1504,8 +1472,6 @@
-
-
@@ -1525,8 +1491,6 @@
-
-
@@ -1546,8 +1510,6 @@
-
-
@@ -1564,13 +1526,10 @@
-
-
-
@@ -1585,11 +1544,8 @@
-
-
-
@@ -1599,12 +1555,9 @@
-
-
-
@@ -1621,24 +1574,18 @@
-
-
-
-
-
-
@@ -1651,15 +1598,12 @@
-
-
-
@@ -1676,13 +1620,10 @@
-
-
-
@@ -1692,13 +1633,10 @@
-
-
-
@@ -1709,8 +1647,6 @@
-
-
@@ -1729,14 +1665,11 @@
-
-
-
@@ -1749,8 +1682,6 @@
-
-
@@ -1758,7 +1689,6 @@
-
@@ -1770,12 +1700,9 @@
-
-
-
@@ -1789,9 +1716,6 @@
-
-
-
@@ -1803,22 +1727,17 @@
-
-
-
-
-
@@ -1829,15 +1748,12 @@
-
-
-
@@ -1850,12 +1766,9 @@
-
-
-
@@ -1865,13 +1778,10 @@
-
-
-
@@ -1881,15 +1791,12 @@
-
-
-
@@ -1902,14 +1809,12 @@
-
-
@@ -1927,14 +1832,12 @@
-
-
@@ -1952,14 +1855,12 @@
-
-
@@ -1976,12 +1877,10 @@
-
-
@@ -1992,14 +1891,12 @@
-
-
@@ -2016,11 +1913,9 @@
-
-
@@ -2031,11 +1926,9 @@
-
-
@@ -2046,10 +1939,8 @@
-
-
@@ -2061,11 +1952,9 @@
-
-
@@ -2076,10 +1965,8 @@
-
-
@@ -2089,12 +1976,9 @@
-
-
-
@@ -2111,13 +1995,10 @@
-
-
-
@@ -2127,12 +2008,9 @@
-
-
-
@@ -2143,11 +2021,8 @@
-
-
-
@@ -2155,23 +2030,17 @@
-
-
-
-
-
-
@@ -2180,12 +2049,10 @@
-
-
@@ -2196,11 +2063,8 @@
-
-
-
@@ -2210,12 +2074,9 @@
-
-
-
@@ -2228,11 +2089,9 @@
-
-
diff --git a/visualc/vngspice-fftw.vcxproj b/visualc/vngspice-fftw.vcxproj
index d1345372e..973a716ee 100644
--- a/visualc/vngspice-fftw.vcxproj
+++ b/visualc/vngspice-fftw.vcxproj
@@ -1688,7 +1688,6 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
@@ -1698,14 +1697,12 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -1723,15 +1720,12 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -1745,13 +1739,10 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -1766,13 +1757,10 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -1785,13 +1773,10 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -1804,13 +1789,10 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -1822,12 +1804,9 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -1841,12 +1820,9 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -1860,8 +1836,6 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -1880,8 +1854,6 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -1900,8 +1872,6 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -1921,8 +1891,6 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -1942,8 +1910,6 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -1963,8 +1929,6 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -1984,8 +1948,6 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -2002,13 +1964,10 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2023,11 +1982,8 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2037,12 +1993,9 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2059,24 +2012,18 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
-
-
-
@@ -2089,15 +2036,12 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2114,13 +2058,10 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2130,13 +2071,10 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2147,8 +2085,6 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -2167,14 +2103,11 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2187,8 +2120,6 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -2196,7 +2127,6 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
@@ -2208,12 +2138,9 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2227,9 +2154,6 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2241,22 +2165,17 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
-
-
@@ -2267,15 +2186,12 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2288,12 +2204,9 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2303,13 +2216,10 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2319,15 +2229,12 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2340,14 +2247,12 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -2365,14 +2270,12 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -2390,14 +2293,12 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -2414,12 +2315,10 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -2430,14 +2329,12 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -2454,11 +2351,9 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -2469,11 +2364,9 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -2484,10 +2377,8 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -2499,11 +2390,9 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -2514,10 +2403,8 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -2527,12 +2414,9 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2549,13 +2433,10 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2565,12 +2446,9 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2581,11 +2459,8 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2593,23 +2468,17 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
-
-
-
@@ -2618,12 +2487,10 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
@@ -2634,11 +2501,8 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2648,12 +2512,9 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
-
@@ -2666,11 +2527,9 @@ lib /machine:x64 /def:..\..\fftw-3.3.4-dll64\libfftw3-3.def /out:$(IntDir)libfft
-
-
diff --git a/visualc/vngspice.vcxproj b/visualc/vngspice.vcxproj
index 4f0f8581a..feda44186 100644
--- a/visualc/vngspice.vcxproj
+++ b/visualc/vngspice.vcxproj
@@ -1654,7 +1654,6 @@
-
@@ -1664,14 +1663,12 @@
-
-
@@ -1689,15 +1686,12 @@
-
-
-
@@ -1711,13 +1705,10 @@
-
-
-
@@ -1732,13 +1723,10 @@
-
-
-
@@ -1751,13 +1739,10 @@
-
-
-
@@ -1770,13 +1755,10 @@
-
-
-
@@ -1788,12 +1770,9 @@
-
-
-
@@ -1807,12 +1786,9 @@
-
-
-
@@ -1826,8 +1802,6 @@
-
-
@@ -1846,8 +1820,6 @@
-
-
@@ -1866,8 +1838,6 @@
-
-
@@ -1887,8 +1857,6 @@
-
-
@@ -1908,8 +1876,6 @@
-
-
@@ -1929,8 +1895,6 @@
-
-
@@ -1950,8 +1914,6 @@
-
-
@@ -1968,13 +1930,10 @@
-
-
-
@@ -1989,11 +1948,8 @@
-
-
-
@@ -2003,12 +1959,9 @@
-
-
-
@@ -2025,24 +1978,18 @@
-
-
-
-
-
-
@@ -2055,15 +2002,12 @@
-
-
-
@@ -2080,13 +2024,10 @@
-
-
-
@@ -2096,13 +2037,10 @@
-
-
-
@@ -2113,8 +2051,6 @@
-
-
@@ -2133,14 +2069,11 @@
-
-
-
@@ -2153,8 +2086,6 @@
-
-
@@ -2162,7 +2093,6 @@
-
@@ -2174,12 +2104,9 @@
-
-
-
@@ -2193,9 +2120,6 @@
-
-
-
@@ -2207,22 +2131,17 @@
-
-
-
-
-
@@ -2233,15 +2152,12 @@
-
-
-
@@ -2254,12 +2170,9 @@
-
-
-
@@ -2269,13 +2182,10 @@
-
-
-
@@ -2285,15 +2195,12 @@
-
-
-
@@ -2306,14 +2213,12 @@
-
-
@@ -2331,14 +2236,12 @@
-
-
@@ -2356,14 +2259,12 @@
-
-
@@ -2380,12 +2281,10 @@
-
-
@@ -2396,14 +2295,12 @@
-
-
@@ -2420,11 +2317,9 @@
-
-
@@ -2435,11 +2330,9 @@
-
-
@@ -2450,10 +2343,8 @@
-
-
@@ -2465,11 +2356,9 @@
-
-
@@ -2480,10 +2369,8 @@
-
-
@@ -2493,12 +2380,9 @@
-
-
-
@@ -2515,13 +2399,10 @@
-
-
-
@@ -2531,12 +2412,9 @@
-
-
-
@@ -2547,11 +2425,8 @@
-
-
-
@@ -2559,23 +2434,17 @@
-
-
-
-
-
-
@@ -2584,12 +2453,10 @@
-
-
@@ -2600,11 +2467,8 @@
-
-
-
@@ -2614,12 +2478,9 @@
-
-
-
@@ -2632,11 +2493,9 @@
-
-