diff --git a/ChangeLog b/ChangeLog index fce21fc8f..f1613a6cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-08-06 Robert Larice + * src/spicelib/devices/adms/admst/ngspice.xml : + reposition NG_IGNOREABLE for non C99 compiler compatibility + 2011-08-06 Robert Larice * src/maths/cmaths/Makefile.am , * src/maths/cmaths/cmath1.c , diff --git a/src/spicelib/devices/adms/admst/ngspice.xml b/src/spicelib/devices/adms/admst/ngspice.xml index 6c1ca7af1..426172da8 100644 --- a/src/spicelib/devices/adms/admst/ngspice.xml +++ b/src/spicelib/devices/adms/admst/ngspice.xml @@ -3595,9 +3595,9 @@ inline double _d0_vt(double) { return 1.3806503e-23/1.602176462e-1 int $(module)temp(GENmodel *inModel, CKTcircuit *ckt) { - NG_IGNOREABLE(ckt); register $(module)model *model = ($(module)model*)inModel; register $(module)instance *here; + NG_IGNOREABLE(ckt); for ( ; model != NULL; model = model->$(module)nextModel ) { @@ -4219,8 +4219,8 @@ int $(module)ask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, int $(module)mAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { - NG_IGNOREABLE(ckt); $(module)model *model = ($(module)model *)inst; + NG_IGNOREABLE(ckt); switch (which) { @@ -4649,9 +4649,9 @@ int $(module)acLoad(GENmodel *inModel, CKTcircuit *ckt) int $(module)pzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) { - NG_IGNOREABLE(ckt); register $(module)model *model = ($(module)model*)inModel; register $(module)instance *here; + NG_IGNOREABLE(ckt); for ( ; model != NULL; model = model->$(module)nextModel ) { /* loop through all the instances of the model */