reposition NG_IGNOREABLE for non C99 compiler compatibility
This commit is contained in:
parent
b5f823f599
commit
87dc06f1b2
|
|
@ -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
|
2011-08-06 Robert Larice
|
||||||
* src/maths/cmaths/Makefile.am ,
|
* src/maths/cmaths/Makefile.am ,
|
||||||
* src/maths/cmaths/cmath1.c ,
|
* src/maths/cmaths/cmath1.c ,
|
||||||
|
|
|
||||||
|
|
@ -3595,9 +3595,9 @@ inline double _d0_vt(double) { return 1.3806503e-23/1.602176462e-1
|
||||||
|
|
||||||
int $(module)temp(GENmodel *inModel, CKTcircuit *ckt)
|
int $(module)temp(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
{
|
{
|
||||||
NG_IGNOREABLE(ckt);
|
|
||||||
register $(module)model *model = ($(module)model*)inModel;
|
register $(module)model *model = ($(module)model*)inModel;
|
||||||
register $(module)instance *here;
|
register $(module)instance *here;
|
||||||
|
NG_IGNOREABLE(ckt);
|
||||||
for ( ; model != NULL; model = model->$(module)nextModel )
|
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)
|
int $(module)mAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value)
|
||||||
{
|
{
|
||||||
NG_IGNOREABLE(ckt);
|
|
||||||
$(module)model *model = ($(module)model *)inst;
|
$(module)model *model = ($(module)model *)inst;
|
||||||
|
NG_IGNOREABLE(ckt);
|
||||||
switch (which) {
|
switch (which) {
|
||||||
<admst:for-each select="modulevariablep[#parametertype!='instance' and isparameter='yes']">
|
<admst:for-each select="modulevariablep[#parametertype!='instance' and isparameter='yes']">
|
||||||
<admst:text format=" case $(module)_model_%(name) :\n"/>
|
<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)
|
int $(module)pzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s)
|
||||||
{
|
{
|
||||||
NG_IGNOREABLE(ckt);
|
|
||||||
register $(module)model *model = ($(module)model*)inModel;
|
register $(module)model *model = ($(module)model*)inModel;
|
||||||
register $(module)instance *here;
|
register $(module)instance *here;
|
||||||
|
NG_IGNOREABLE(ckt);
|
||||||
for ( ; model != NULL; model = model->$(module)nextModel )
|
for ( ; model != NULL; model = model->$(module)nextModel )
|
||||||
{
|
{
|
||||||
/* loop through all the instances of the model */
|
/* loop through all the instances of the model */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue