Browse Source

remove empty VMOSdelete() function

pre-master-46
Holger Vogt 8 years ago
committed by rlar
parent
commit
8473c8e03c
  1. 1
      src/spicelib/devices/vdmos/Makefile.am
  2. 17
      src/spicelib/devices/vdmos/vdmosdel.c
  3. 1
      src/spicelib/devices/vdmos/vdmosext.h
  4. 2
      src/spicelib/devices/vdmos/vdmosinit.c
  5. 1
      visualc/vngspice.vcxproj

1
src/spicelib/devices/vdmos/Makefile.am

@ -8,7 +8,6 @@ libvdmos_la_SOURCES = \
vdmosask.c \ vdmosask.c \
vdmosconv.c \ vdmosconv.c \
vdmosdefs.h \ vdmosdefs.h \
vdmosdel.c \
vdmosdist.c \ vdmosdist.c \
vdmosdset.c \ vdmosdset.c \
vdmosext.h \ vdmosext.h \

17
src/spicelib/devices/vdmos/vdmosdel.c

@ -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 "vdmosdefs.h"
#include "ngspice/sperror.h"
#include "ngspice/suffix.h"
int
VDMOSdelete(GENinstance *gen_inst)
{
VDMOSinstance *inst = (VDMOSinstance *) gen_inst;
return OK;
}

1
src/spicelib/devices/vdmos/vdmosext.h

@ -6,7 +6,6 @@ Modified: 2000 AlansFixes
extern int VDMOSacLoad(GENmodel *,CKTcircuit*); extern int VDMOSacLoad(GENmodel *,CKTcircuit*);
extern int VDMOSask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*); extern int VDMOSask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
extern int VDMOSdelete(GENinstance*);
extern int VDMOSgetic(GENmodel*,CKTcircuit*); extern int VDMOSgetic(GENmodel*,CKTcircuit*);
extern int VDMOSload(GENmodel*,CKTcircuit*); extern int VDMOSload(GENmodel*,CKTcircuit*);
extern int VDMOSmAsk(CKTcircuit *,GENmodel *,int,IFvalue*); extern int VDMOSmAsk(CKTcircuit *,GENmodel *,int,IFvalue*);

2
src/spicelib/devices/vdmos/vdmosinit.c

@ -44,7 +44,7 @@ SPICEdev VDMOSinfo = {
.DEVaccept = NULL, .DEVaccept = NULL,
.DEVdestroy = NULL, .DEVdestroy = NULL,
.DEVmodDelete = NULL, .DEVmodDelete = NULL,
.DEVdelete = VDMOSdelete,
.DEVdelete = NULL,
.DEVsetic = VDMOSgetic, .DEVsetic = VDMOSgetic,
.DEVask = VDMOSask, .DEVask = VDMOSask,
.DEVmodAsk = VDMOSmAsk, .DEVmodAsk = VDMOSmAsk,

1
visualc/vngspice.vcxproj

@ -2496,7 +2496,6 @@
<ClCompile Include="..\src\spicelib\devices\vdmos\vdmosacld.c" /> <ClCompile Include="..\src\spicelib\devices\vdmos\vdmosacld.c" />
<ClCompile Include="..\src\spicelib\devices\vdmos\vdmosask.c" /> <ClCompile Include="..\src\spicelib\devices\vdmos\vdmosask.c" />
<ClCompile Include="..\src\spicelib\devices\vdmos\vdmosconv.c" /> <ClCompile Include="..\src\spicelib\devices\vdmos\vdmosconv.c" />
<ClCompile Include="..\src\spicelib\devices\vdmos\vdmosdel.c" />
<ClCompile Include="..\src\spicelib\devices\vdmos\vdmosdist.c" /> <ClCompile Include="..\src\spicelib\devices\vdmos\vdmosdist.c" />
<ClCompile Include="..\src\spicelib\devices\vdmos\vdmosdset.c" /> <ClCompile Include="..\src\spicelib\devices\vdmos\vdmosdset.c" />
<ClCompile Include="..\src\spicelib\devices\vdmos\vdmosic.c" /> <ClCompile Include="..\src\spicelib\devices\vdmos\vdmosic.c" />

Loading…
Cancel
Save