c89 compatibility, move NG_IGNORE() after declarations
This commit is contained in:
parent
70678fb77e
commit
3349b98145
|
|
@ -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
|
2011-04-30 Robert Larice
|
||||||
* src/spicelib/devices/hisimhv/hsmhvask.c ,
|
* src/spicelib/devices/hisimhv/hsmhvask.c ,
|
||||||
* src/spicelib/devices/hisimhv/hsmhvld.c ,
|
* src/spicelib/devices/hisimhv/hsmhvld.c ,
|
||||||
|
|
|
||||||
|
|
@ -19,13 +19,13 @@ Author: 1985 Thomas L. Quarles
|
||||||
int
|
int
|
||||||
CKTbindNode(CKTcircuit *ckt, GENinstance *fast, int term, CKTnode *node)
|
CKTbindNode(CKTcircuit *ckt, GENinstance *fast, int term, CKTnode *node)
|
||||||
{
|
{
|
||||||
NG_IGNORE(ckt);
|
|
||||||
|
|
||||||
int mappednode;
|
int mappednode;
|
||||||
SPICEdev **devs;
|
SPICEdev **devs;
|
||||||
GENinstance *instance = /*fixme*/ fast;
|
GENinstance *instance = /*fixme*/ fast;
|
||||||
int type = instance->GENmodPtr->GENmodType;
|
int type = instance->GENmodPtr->GENmodType;
|
||||||
|
|
||||||
|
NG_IGNORE(ckt);
|
||||||
|
|
||||||
devs = devices();
|
devs = devices();
|
||||||
mappednode = node->number;
|
mappednode = node->number;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,10 +30,10 @@ int HSMHVmAsk(
|
||||||
int which,
|
int which,
|
||||||
IFvalue *value)
|
IFvalue *value)
|
||||||
{
|
{
|
||||||
NG_IGNORE(ckt);
|
|
||||||
|
|
||||||
HSMHVmodel *model = (HSMHVmodel *)inst;
|
HSMHVmodel *model = (HSMHVmodel *)inst;
|
||||||
|
|
||||||
|
NG_IGNORE(ckt);
|
||||||
|
|
||||||
switch (which) {
|
switch (which) {
|
||||||
case HSMHV_MOD_NMOS:
|
case HSMHV_MOD_NMOS:
|
||||||
value->iValue = model->HSMHV_type;
|
value->iValue = model->HSMHV_type;
|
||||||
|
|
|
||||||
|
|
@ -28,13 +28,13 @@ int HSMHVpzLoad(
|
||||||
register CKTcircuit *ckt,
|
register CKTcircuit *ckt,
|
||||||
register SPcomplex *s)
|
register SPcomplex *s)
|
||||||
{
|
{
|
||||||
NG_IGNORE(ckt);
|
|
||||||
|
|
||||||
register HSMHVmodel *model = (HSMHVmodel*)inModel;
|
register HSMHVmodel *model = (HSMHVmodel*)inModel;
|
||||||
register HSMHVinstance *here;
|
register HSMHVinstance *here;
|
||||||
|
|
||||||
int flg_nqs =0 ;
|
int flg_nqs =0 ;
|
||||||
|
|
||||||
|
NG_IGNORE(ckt);
|
||||||
|
|
||||||
#define dNode 0
|
#define dNode 0
|
||||||
#define dNodePrime 1
|
#define dNodePrime 1
|
||||||
#define gNode 2
|
#define gNode 2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue