diff --git a/ChangeLog b/ChangeLog index 805a6aa72..39156115f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-02-07 Robert Larice + * src/frontend/outitf.h , + * src/include/ngspice/typedefs.h : + struct runDesc forward declaration + 2012-02-07 Robert Larice * src/frontend/rawfile.c : comment/pinpoint a local misuse of a structure element diff --git a/src/frontend/outitf.h b/src/frontend/outitf.h index 994dd73a9..207a31749 100644 --- a/src/frontend/outitf.h +++ b/src/frontend/outitf.h @@ -5,6 +5,10 @@ #ifndef OUTITF_H_INCLUDED #define OUTITF_H_INCLUDED + +#include "ngspice/typedefs.h" + + typedef struct dataDesc { char *name; /* The name of the vector. */ int type; /* The type. */ @@ -20,7 +24,7 @@ typedef struct dataDesc { struct dvec *vec; } dataDesc; -typedef struct runDesc { +struct runDesc { void *analysis; CKTcircuit *circuit; char *name; @@ -37,7 +41,7 @@ typedef struct runDesc { int pointCount; int isComplex; int windowCount; -} runDesc; +}; int OUTpBeginPlot(CKTcircuit *circuitPtr, JOB *analysisPtr, IFuid analName, diff --git a/src/include/ngspice/typedefs.h b/src/include/ngspice/typedefs.h index bda0098e0..45ea51988 100644 --- a/src/include/ngspice/typedefs.h +++ b/src/include/ngspice/typedefs.h @@ -46,4 +46,6 @@ typedef struct JOB JOB; typedef struct SPICEanalysis SPICEanalysis; +typedef struct runDesc runDesc; + #endif