Browse Source

remove const declaration to make ASRCsetup compatible with .DEVsetup

pre-master-46
Holger Vogt 6 years ago
parent
commit
814cadf36c
  1. 2
      src/spicelib/devices/asrc/asrcext.h
  2. 2
      src/spicelib/devices/asrc/asrcset.c

2
src/spicelib/devices/asrc/asrcext.h

@ -12,6 +12,6 @@ extern int ASRCload(GENmodel *, CKTcircuit *);
extern int ASRCparam(int, IFvalue *, GENinstance *, IFvalue *);
extern int ASRCpzLoad(GENmodel *, CKTcircuit *, SPcomplex *);
extern int ASRCacLoad(GENmodel *, CKTcircuit *);
extern int ASRCsetup(SMPmatrix *, GENmodel *, CKTcircuit *, const int *);
extern int ASRCsetup(SMPmatrix *, GENmodel *, CKTcircuit *, int *);
extern int ASRCunsetup(GENmodel *, CKTcircuit *);
extern int ASRCtemp(GENmodel *, CKTcircuit *);

2
src/spicelib/devices/asrc/asrcset.c

@ -22,7 +22,7 @@ Author: 1987 Kanwar Jit Singh
*/
int ASRCsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt,
const int *states)
int *states)
{
ASRCinstance *here;
ASRCmodel *model = (ASRCmodel*) inModel;

Loading…
Cancel
Save