From ef26170d5a33eb9429c0eb0b50b078a6f4581e37 Mon Sep 17 00:00:00 2001 From: rlar Date: Fri, 8 Oct 2010 18:09:02 +0000 Subject: [PATCH] DkerProc() CKTdisto() prototypes --> include files --- ChangeLog | 5 +++++ src/include/distodef.h | 2 ++ src/spicelib/analysis/distoan.c | 8 -------- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index b46598e86..72ce6c396 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-10-08 Robert Larice + * src/include/distodef.h , + * src/spicelib/analysis/distoan.c : + DkerProc() CKTdisto() prototypes --> include files + 2010-10-08 Robert Larice * src/ciderlib/oned/onedext.h , * src/spicelib/parser/inp.h : diff --git a/src/include/distodef.h b/src/include/distodef.h index 41d636000..1e7bad10c 100644 --- a/src/include/distodef.h +++ b/src/include/distodef.h @@ -212,7 +212,9 @@ extern void AtanDeriv(Dderivs *, Dderivs *); extern void CosDeriv(Dderivs *, Dderivs *); extern void ExpDeriv(Dderivs *, Dderivs *); +extern int CKTdisto(CKTcircuit *ckt, int mode); +extern int DkerProc(int type, double *rPtr, double *iPtr, int size, DISTOAN *job); #endif /*DISTODEFS*/ diff --git a/src/spicelib/analysis/distoan.c b/src/spicelib/analysis/distoan.c index f334843ea..93a5d8ae2 100644 --- a/src/spicelib/analysis/distoan.c +++ b/src/spicelib/analysis/distoan.c @@ -34,14 +34,6 @@ DstorAlloc(double ***header, int size) } -#ifdef STDC -extern int CKTdisto(CKTcircuit*, int); -extern int DkerProc(int,double*,double*,int,DISTOan*); -#else -extern int CKTdisto(CKTcircuit *ckt, int mode); -extern int DkerProc(int type, double *rPtr, double *iPtr, int size, DISTOAN *job); -#endif - int DISTOan(CKTcircuit *ckt, int restart)