From 75228612c021e683010f504d5a3d804402fa311c Mon Sep 17 00:00:00 2001 From: dwarning Date: Thu, 15 Oct 2020 18:25:25 +0200 Subject: [PATCH] few fixes for prototypes --- src/include/ngspice/wallace.h | 2 ++ src/spicelib/devices/vdmos/vdmosload.c | 2 -- src/xspice/icm/xtradev/pswitch/cfunc.mod | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/include/ngspice/wallace.h b/src/include/ngspice/wallace.h index 2fd36898d..d68141251 100644 --- a/src/include/ngspice/wallace.h +++ b/src/include/ngspice/wallace.h @@ -18,3 +18,5 @@ double NewWa(void); /* generate new pool, return outgauss[0] */ #define GaussWa ((--variate_used)?(outgauss[variate_used]*ScaleGauss):NewWa()) void PolarGauss(double* py1, double* py2); + +void destroy_wallace(void); diff --git a/src/spicelib/devices/vdmos/vdmosload.c b/src/spicelib/devices/vdmos/vdmosload.c index 1e7b5b552..1d8da7748 100644 --- a/src/spicelib/devices/vdmos/vdmosload.c +++ b/src/spicelib/devices/vdmos/vdmosload.c @@ -14,8 +14,6 @@ VDMOS: 2018 Holger Vogt, 2020 Dietmar Warning #include "ngspice/sperror.h" #include "ngspice/suffix.h" -void VDMOStempUpdate(VDMOSmodel *inModel, VDMOSinstance *here, double Temp, CKTcircuit *ckt); - int VDMOSload(GENmodel *inModel, CKTcircuit *ckt) /* actually load the current value into the diff --git a/src/xspice/icm/xtradev/pswitch/cfunc.mod b/src/xspice/icm/xtradev/pswitch/cfunc.mod index 725d33f3a..07bc1befa 100644 --- a/src/xspice/icm/xtradev/pswitch/cfunc.mod +++ b/src/xspice/icm/xtradev/pswitch/cfunc.mod @@ -42,6 +42,7 @@ NON-STANDARD FEATURES /*=== INCLUDE FILES ====================*/ +#include #include