From 5df8e981e5264dd6d73cabc1d7e13b869242f9a0 Mon Sep 17 00:00:00 2001 From: rlar Date: Tue, 7 Feb 2012 17:28:27 +0000 Subject: [PATCH] struct runDesc forward declaration --- ChangeLog | 5 +++++ src/frontend/outitf.h | 8 ++++++-- src/include/ngspice/typedefs.h | 2 ++ 3 files changed, 13 insertions(+), 2 deletions(-) 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