From d49b1d7d0b407f27fb4d44e916efb7888f1b6aa5 Mon Sep 17 00:00:00 2001 From: rlar Date: Fri, 8 Oct 2010 16:49:18 +0000 Subject: [PATCH] use the type JOB, remove redundant casts --- ChangeLog | 17 +++++++++++++++++ src/frontend/spiceif.c | 2 +- src/include/ifsim.h | 4 ++-- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index cb00eab9d..92c1ea1a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +2010-10-08 Robert Larice + * src/frontend/outitf.c , + * src/frontend/outitf.h , + * src/frontend/spiceif.c , + * src/include/ifsim.h , + * src/main.c , + * src/spicelib/analysis/acan.c , + * src/spicelib/analysis/cktsens.c , + * src/spicelib/analysis/dcop.c , + * src/spicelib/analysis/dctran.c , + * src/spicelib/analysis/dctrcurv.c , + * src/spicelib/analysis/distoan.c , + * src/spicelib/analysis/noisean.c , + * src/spicelib/analysis/pzan.c , + * src/spicelib/analysis/tfanal.c : + use the type JOB, remove redundant casts + 2010-10-08 Robert Larice * src/frontend/shyu.c , * src/frontend/spiceif.c , diff --git a/src/frontend/spiceif.c b/src/frontend/spiceif.c index 6992c16bd..4107789cb 100644 --- a/src/frontend/spiceif.c +++ b/src/frontend/spiceif.c @@ -1532,7 +1532,7 @@ do {\ (*(SPfrontEnd->IFnewUid))(ckt,&timeUid,(IFuid)NULL, "time", UID_OTHER, NULL); error = (*(SPfrontEnd->OUTpBeginPlot))(ckt, - (void*)ckt->CKTcurJob, + ckt->CKTcurJob, ckt->CKTcurJob->JOBname,timeUid,IF_REAL,numNames,nameList, IF_REAL,&(((TRANan*)ckt->CKTcurJob)->TRANplot)); if(error) { diff --git a/src/include/ifsim.h b/src/include/ifsim.h index f6ae86082..e6232d464 100644 --- a/src/include/ifsim.h +++ b/src/include/ifsim.h @@ -439,12 +439,12 @@ struct IFfrontEnd { /* what time is it? */ int (*IFerror) (int, char *, IFuid *); /* output an error or warning message */ - int (*OUTpBeginPlot) (CKTcircuit *, void *, IFuid, IFuid, int, + int (*OUTpBeginPlot) (CKTcircuit *, JOB *, IFuid, IFuid, int, int, IFuid *, int, void **); /* start pointwise output plot */ int (*OUTpData) (void *, IFvalue *, IFvalue *); /* data for pointwise plot */ - int (*OUTwBeginPlot) (CKTcircuit *, void *, IFuid, IFuid, int, + int (*OUTwBeginPlot) (CKTcircuit *, JOB *, IFuid, IFuid, int, int, IFuid *, int, void **); /* start windowed output plot */ int (*OUTwReference) (void *, IFvalue *, void **);