Browse Source

c89 compatibility, move NG_IGNORE() after declarations

pre-master-46
rlar 15 years ago
parent
commit
3349b98145
  1. 6
      ChangeLog
  2. 4
      src/spicelib/devices/cktbindnode.c
  3. 4
      src/spicelib/devices/hisimhv/hsmhvmask.c
  4. 4
      src/spicelib/devices/hisimhv/hsmhvpzld.c

6
ChangeLog

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

4
src/spicelib/devices/cktbindnode.c

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

4
src/spicelib/devices/hisimhv/hsmhvmask.c

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

4
src/spicelib/devices/hisimhv/hsmhvpzld.c

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

Loading…
Cancel
Save