Trimmed include file and removed some warnings.
This commit is contained in:
parent
1baba94cd1
commit
742186b44f
|
|
@ -30,7 +30,6 @@ extern int DEVmaxnum; /* Not sure if still used */
|
||||||
#include "noisedef.h"
|
#include "noisedef.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct sCKTnode {
|
typedef struct sCKTnode {
|
||||||
IFuid name;
|
IFuid name;
|
||||||
int type;
|
int type;
|
||||||
|
|
@ -58,7 +57,6 @@ typedef struct sCKTnode {
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
||||||
|
|
||||||
/* gtri - begin - wbk - change declaration to allow dynamic sizing */
|
/* gtri - begin - wbk - change declaration to allow dynamic sizing */
|
||||||
|
|
||||||
/* An associated change is made in CKTinit.c to alloc the space */
|
/* An associated change is made in CKTinit.c to alloc the space */
|
||||||
|
|
@ -300,7 +298,7 @@ extern int CKTfndTask( void *, void **, IFuid );
|
||||||
extern int CKTground( void *, void **, IFuid );
|
extern int CKTground( void *, void **, IFuid );
|
||||||
extern int CKTic( CKTcircuit *);
|
extern int CKTic( CKTcircuit *);
|
||||||
extern int CKTinit( void **);
|
extern int CKTinit( void **);
|
||||||
extern int CKTinst2Node( void *, void *, int , void **, IFuid *);
|
extern int CKTinst2Node( void *, void *, int , CKTnode **, IFuid *);
|
||||||
extern int CKTlinkEq(CKTcircuit*,CKTnode*);
|
extern int CKTlinkEq(CKTcircuit*,CKTnode*);
|
||||||
extern int CKTload( CKTcircuit *);
|
extern int CKTload( CKTcircuit *);
|
||||||
extern int CKTmapNode( void *, void **, IFuid );
|
extern int CKTmapNode( void *, void **, IFuid );
|
||||||
|
|
@ -349,7 +347,7 @@ extern int DCOaskQuest( CKTcircuit *, void *, int , IFvalue *);
|
||||||
extern int DCOsetParm( CKTcircuit *, void *, int , IFvalue *);
|
extern int DCOsetParm( CKTcircuit *, void *, int , IFvalue *);
|
||||||
extern int DCTaskQuest( CKTcircuit *, void *, int , IFvalue *);
|
extern int DCTaskQuest( CKTcircuit *, void *, int , IFvalue *);
|
||||||
extern int DCTsetParm( CKTcircuit *, void *, int , IFvalue *);
|
extern int DCTsetParm( CKTcircuit *, void *, int , IFvalue *);
|
||||||
extern int DCop( CKTcircuit *, int ); /* va: int avoids "init from incompatible pointer type" */
|
extern int DCop( CKTcircuit *ckt, int notused); /* va: notused avoids "init from incompatible pointer type" */
|
||||||
extern int DCtrCurv( CKTcircuit *, int );
|
extern int DCtrCurv( CKTcircuit *, int );
|
||||||
extern int DCtran( CKTcircuit *, int );
|
extern int DCtran( CKTcircuit *, int );
|
||||||
extern int DISTOan(CKTcircuit *, int);
|
extern int DISTOan(CKTcircuit *, int);
|
||||||
|
|
@ -370,6 +368,8 @@ extern int TFsetParm( CKTcircuit *, void *, int , IFvalue *);
|
||||||
extern int TRANaskQuest( CKTcircuit *, void *, int , IFvalue *);
|
extern int TRANaskQuest( CKTcircuit *, void *, int , IFvalue *);
|
||||||
extern int TRANsetParm( CKTcircuit *, void *, int , IFvalue *);
|
extern int TRANsetParm( CKTcircuit *, void *, int , IFvalue *);
|
||||||
extern int TRANinit(CKTcircuit *, JOB *);
|
extern int TRANinit(CKTcircuit *, JOB *);
|
||||||
|
extern int NaskQuest(CKTcircuit *, void *, int, IFvalue *);
|
||||||
|
extern int NsetParm(CKTcircuit *, void *, int, IFvalue *);
|
||||||
extern int NIacIter( CKTcircuit * );
|
extern int NIacIter( CKTcircuit * );
|
||||||
extern int NIcomCof( CKTcircuit * );
|
extern int NIcomCof( CKTcircuit * );
|
||||||
extern int NIconvTest(CKTcircuit * );
|
extern int NIconvTest(CKTcircuit * );
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
#ifndef DGEN_H
|
||||||
|
#define DGEN_H
|
||||||
|
|
||||||
typedef struct st_dgen dgen;
|
typedef struct st_dgen dgen;
|
||||||
|
|
||||||
struct st_dgen {
|
struct st_dgen {
|
||||||
|
|
@ -24,3 +27,5 @@ struct st_dgen {
|
||||||
#define DGEN_ALLPARAMS 0x002
|
#define DGEN_ALLPARAMS 0x002
|
||||||
|
|
||||||
extern dgen *dgen_init( );
|
extern dgen *dgen_init( );
|
||||||
|
|
||||||
|
#endif /* DGEN_H */
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,9 @@ Copyright 1990 Regents of the University of California. All rights reserved.
|
||||||
Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
|
Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
|
||||||
**********/
|
**********/
|
||||||
|
|
||||||
|
#ifndef FTEDEBUG_H
|
||||||
|
#define FTEDEBUG_H
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* Stuff for debugging a spice run. Debugging information will be printed
|
* Stuff for debugging a spice run. Debugging information will be printed
|
||||||
|
|
@ -46,3 +49,4 @@ struct dbcomm {
|
||||||
struct dbcomm *db_next; /* List of active debugging commands. */
|
struct dbcomm *db_next; /* List of active debugging commands. */
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
#endif /* FTEDEBUG_H */
|
||||||
|
|
|
||||||
|
|
@ -19,3 +19,7 @@ extern double logb(double);
|
||||||
extern double scalb(double, int);
|
extern double scalb(double, int);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_ISNAN
|
||||||
|
extern int isnan(double);
|
||||||
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,4 @@ typedef struct {
|
||||||
/* (see MAXVLENGTH in FTE/writedata.c) */
|
/* (see MAXVLENGTH in FTE/writedata.c) */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
extern int NsetParm();
|
|
||||||
extern int NaskQuest();
|
|
||||||
#endif /*NOISEDEFS*/
|
#endif /*NOISEDEFS*/
|
||||||
|
|
|
||||||
|
|
@ -66,9 +66,10 @@ struct st_devsenlist {
|
||||||
ModSenList *first;
|
ModSenList *first;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern int SENSask( );
|
/* va, with prototypes */
|
||||||
extern int SENSsetParam( );
|
extern int SENSask(CKTcircuit *,void *,int ,IFvalue *);
|
||||||
extern int sens_sens( );
|
extern int SENSsetParam(CKTcircuit *,void *,int ,IFvalue *);
|
||||||
|
extern int sens_sens(CKTcircuit *,int);
|
||||||
|
|
||||||
#define SENS_POS 2
|
#define SENS_POS 2
|
||||||
#define SENS_NEG 3
|
#define SENS_NEG 3
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ int CKTfndTask( void *, void **, IFuid );
|
||||||
int CKTground( void *, void **, IFuid );
|
int CKTground( void *, void **, IFuid );
|
||||||
int CKTic( CKTcircuit *);
|
int CKTic( CKTcircuit *);
|
||||||
int CKTinit( void **);
|
int CKTinit( void **);
|
||||||
int CKTinst2Node( void *, void *, int , void **, IFuid *);
|
int CKTinst2Node( void *, void *, int , CKTnode **, IFuid *);
|
||||||
int CKTlinkEq(CKTcircuit*,CKTnode*);
|
int CKTlinkEq(CKTcircuit*,CKTnode*);
|
||||||
int CKTload( CKTcircuit *);
|
int CKTload( CKTcircuit *);
|
||||||
int CKTmapNode( void *, void **, IFuid );
|
int CKTmapNode( void *, void **, IFuid );
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ Author: 1985 Thomas L. Quarles
|
||||||
extern SPICEdev **DEVices;
|
extern SPICEdev **DEVices;
|
||||||
|
|
||||||
int
|
int
|
||||||
CKTinst2Node(void *ckt, void *instPtr, int terminal, void **node, IFuid *nodeName)
|
CKTinst2Node(void *ckt, void *instPtr, int terminal, CKTnode **node, IFuid *nodeName)
|
||||||
{
|
{
|
||||||
int nodenum;
|
int nodenum;
|
||||||
int type;
|
int type;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue