c89 compatibility, move NG_IGNORE() after declarations

This commit is contained in:
rlar 2011-04-30 15:17:18 +00:00
parent 70678fb77e
commit 3349b98145
4 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2011-04-30 Robert Larice
* src/spicelib/devices/cktbindnode.c ,
* src/spicelib/devices/hisimhv/hsmhvmask.c ,
* src/spicelib/devices/hisimhv/hsmhvpzld.c :
c89 compatibility, move NG_IGNORE() after declarations
2011-04-30 Robert Larice
* src/spicelib/devices/hisimhv/hsmhvask.c ,
* src/spicelib/devices/hisimhv/hsmhvld.c ,

View File

@ -19,13 +19,13 @@ Author: 1985 Thomas L. Quarles
int
CKTbindNode(CKTcircuit *ckt, GENinstance *fast, int term, CKTnode *node)
{
NG_IGNORE(ckt);
int mappednode;
SPICEdev **devs;
GENinstance *instance = /*fixme*/ fast;
int type = instance->GENmodPtr->GENmodType;
NG_IGNORE(ckt);
devs = devices();
mappednode = node->number;

View File

@ -30,10 +30,10 @@ int HSMHVmAsk(
int which,
IFvalue *value)
{
NG_IGNORE(ckt);
HSMHVmodel *model = (HSMHVmodel *)inst;
NG_IGNORE(ckt);
switch (which) {
case HSMHV_MOD_NMOS:
value->iValue = model->HSMHV_type;

View File

@ -28,13 +28,13 @@ int HSMHVpzLoad(
register CKTcircuit *ckt,
register SPcomplex *s)
{
NG_IGNORE(ckt);
register HSMHVmodel *model = (HSMHVmodel*)inModel;
register HSMHVinstance *here;
int flg_nqs =0 ;
NG_IGNORE(ckt);
#define dNode 0
#define dNodePrime 1
#define gNode 2