From 04dea78e5828ea088c1e1114a587e7d52a806d28 Mon Sep 17 00:00:00 2001 From: rlar Date: Fri, 8 Oct 2010 16:32:36 +0000 Subject: [PATCH] fix an incorrect prototype --- ChangeLog | 5 +++++ src/frontend/spiceif.c | 3 ++- src/spicelib/analysis/ckt.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 462f82e0d..9d83f3677 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-10-08 Robert Larice + * src/frontend/spiceif.c , + * src/spicelib/analysis/ckt.h : + fix an incorrect prototype + 2010-10-08 Robert Larice * src/include/inpptree.h , * src/spicelib/parser/inpptree.c : diff --git a/src/frontend/spiceif.c b/src/frontend/spiceif.c index cb890d773..ca6a74c98 100644 --- a/src/frontend/spiceif.c +++ b/src/frontend/spiceif.c @@ -240,7 +240,8 @@ if_run(CKTcircuit *t, char *what, wordlist *args, INPtables *tab) ft_sperror(err,"deleteTask"); return(2); } - ft_curckt->ci_specTask = ft_curckt->ci_specOpt = NULL; /*CDHW*/ + ft_curckt->ci_specTask = NULL; + ft_curckt->ci_specOpt = NULL; /*CDHW*/ } /*CDHW Create an interactive task AAA with a new UID. ci_specTask will point to it CDHW*/ diff --git a/src/spicelib/analysis/ckt.h b/src/spicelib/analysis/ckt.h index e0511844f..1bf1195fc 100644 --- a/src/spicelib/analysis/ckt.h +++ b/src/spicelib/analysis/ckt.h @@ -57,7 +57,7 @@ int CKTnames(CKTcircuit *, int *, IFuid **); int CKTnewAnal( CKTcircuit *, int , IFuid , void **, void *); int CKTnewEq( CKTcircuit *, CKTnode **, IFuid ); int CKTnewNode( CKTcircuit *, CKTnode **, IFuid ); -int CKTnewTask( CKTcircuit *, void **, IFuid ); +int CKTnewTask( CKTcircuit *, void **, IFuid, void**); IFuid CKTnodName( CKTcircuit *, int ); void CKTnodOut( CKTcircuit *); CKTnode * CKTnum2nod( CKTcircuit *, int );