From e1a55263813ab71396e6b72de1ea01666afe4d41 Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 15 Aug 2010 17:44:40 +0000 Subject: [PATCH] use the type CKTnode instead of void* --- ChangeLog | 4 ++++ src/spicelib/parser/inp2dot.c | 16 ++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index e6603b7b6..87877f80a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-08-15 Robert Larice + * src/spicelib/parser/inp2dot.c : + use the type CKTnode instead of void* + 2010-08-15 Robert Larice * src/frontend/vectors.c : change for readability diff --git a/src/spicelib/parser/inp2dot.c b/src/spicelib/parser/inp2dot.c index 056f64d8f..b489b8515 100644 --- a/src/spicelib/parser/inp2dot.c +++ b/src/spicelib/parser/inp2dot.c @@ -124,7 +124,7 @@ dot_noise(char *line, CKTcircuit *ckt, INPtables *tab, card *current, static int dot_op(char *line, CKTcircuit *ckt, INPtables *tab, card *current, - void *task, void *gnode, void *foo) + void *task, CKTnode *gnode, void *foo) { int which; /* which analysis we are performing */ int i; /* generic loop variable */ @@ -149,7 +149,7 @@ dot_op(char *line, CKTcircuit *ckt, INPtables *tab, card *current, static int dot_disto(char *line, CKTcircuit *ckt, INPtables *tab, card *current, - void *task, void *gnode, void *foo) + void *task, CKTnode *gnode, void *foo) { int which; /* which analysis we are performing */ int i; /* generic loop variable */ @@ -190,7 +190,7 @@ dot_disto(char *line, CKTcircuit *ckt, INPtables *tab, card *current, static int dot_ac(char *line, CKTcircuit *ckt, INPtables *tab, card *current, - void *task, void *gnode, void *foo) + void *task, CKTnode *gnode, void *foo) { int error; /* error code temporary */ IFvalue ptemp; /* a value structure to package resistance into */ @@ -227,7 +227,7 @@ dot_ac(char *line, CKTcircuit *ckt, INPtables *tab, card *current, static int dot_pz(char *line, CKTcircuit *ckt, INPtables *tab, card *current, - void *task, void *gnode, void *foo) + void *task, CKTnode *gnode, void *foo) { int error; /* error code temporary */ IFvalue ptemp; /* a value structure to package resistance into */ @@ -269,7 +269,7 @@ dot_pz(char *line, CKTcircuit *ckt, INPtables *tab, card *current, static int dot_dc(char *line, CKTcircuit *ckt, INPtables *tab, card *current, - void *task, void *gnode, void *foo) + void *task, CKTnode *gnode, void *foo) { char *name; /* the resistor's name */ int error; /* error code temporary */ @@ -393,7 +393,7 @@ dot_tf(char *line, CKTcircuit *ckt, INPtables *tab, card *current, static int dot_tran(char *line, CKTcircuit *ckt, INPtables *tab, card *current, - void *task, void *gnode, void *foo) + void *task, CKTnode *gnode, void *foo) { int error; /* error code temporary */ IFvalue ptemp; /* a value structure to package resistance into */ @@ -549,7 +549,7 @@ dot_sens(char *line, CKTcircuit *ckt, INPtables *tab, card *current, #ifdef WANT_SENSE2 static int dot_sens2(char *line, CKTcircuit *ckt, INPtables *tab, card *current, - void *task, void *gnode, void *foo) + void *task, CKTnode *gnode, void *foo) { int error; /* error code temporary */ IFvalue ptemp; /* a value structure to package resistance into */ @@ -621,7 +621,7 @@ dot_sens2(char *line, CKTcircuit *ckt, INPtables *tab, card *current, static int dot_options(char *line, CKTcircuit *ckt, INPtables *tab, card *current, - void *task, void *gnode, void *foo) + void *task, CKTnode *gnode, void *foo) { /* .option - specify program options - rather complicated */ /* use a subroutine to handle all of them to keep this */