reposition NG_IGNOREABLE for non C99 compiler compatibility

This commit is contained in:
rlar 2011-08-06 17:27:40 +00:00
parent b5f823f599
commit 87dc06f1b2
2 changed files with 7 additions and 3 deletions

View File

@ -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 ,

View File

@ -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) {
<admst:for-each select="modulevariablep[#parametertype!='instance' and isparameter='yes']">
<admst:text format=" case $(module)_model_%(name) :\n"/>
@ -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-&gt;$(module)nextModel )
{
/* loop through all the instances of the model */