Define the members of the struct in the correct sequence.

This commit is contained in:
Holger Vogt 2024-03-29 17:23:59 +01:00
parent cac87d9dd0
commit ce8bce7947
2 changed files with 5 additions and 4 deletions

View File

@ -107,6 +107,9 @@ typedef struct SPICEdev {
/* noise routine */
int (*DEVsoaCheck)(CKTcircuit*,GENmodel*);
/* subroutine to call on soa check */
int *DEVinstSize; /* size of an instance */
int *DEVmodSize; /* size of a model */
#ifdef CIDER
void (*DEVdump)(GENmodel *, CKTcircuit *);
void (*DEVacct)(GENmodel *, CKTcircuit *, FILE *);
@ -114,8 +117,6 @@ typedef struct SPICEdev {
* now used only by cider numerical devices
*/
#endif
int *DEVinstSize; /* size of an instance */
int *DEVmodSize; /* size of a model */
#ifdef KLU
int (*DEVbindCSC)(GENmodel *, CKTcircuit *);

View File

@ -282,6 +282,8 @@ struct IFdevice {
int *numModelParms; /* number of model parameter descriptors */
IFparm *modelParms; /* array of model parameter descriptors */
int flags; /* DEV_ */
/* gtri - modify - wbk - 10/11/90 - add entries to hold data required */
/* by new parser */
#ifdef XSPICE
@ -298,8 +300,6 @@ struct IFdevice {
/* gtri - end - wbk - 10/11/90 */
#endif
int flags; /* DEV_ */
#ifdef OSDI
const void *registry_entry;
#endif