From 5d19be9030f9a68f2ffc886193e47aa7700fc5d1 Mon Sep 17 00:00:00 2001 From: rlar Date: Thu, 4 Jan 2018 16:53:53 +0100 Subject: [PATCH] devices/**/XXXdel.c, cleanup braces --- src/spicelib/devices/bsim3/b3del.c | 10 +++++----- src/spicelib/devices/bsim3soi_dd/b3soidddel.c | 10 +++++----- src/spicelib/devices/bsim3soi_fd/b3soifddel.c | 10 +++++----- src/spicelib/devices/bsim3soi_pd/b3soipddel.c | 10 +++++----- src/spicelib/devices/bsim3v0/b3v0del.c | 10 +++++----- src/spicelib/devices/bsim3v1/b3v1del.c | 10 +++++----- src/spicelib/devices/bsim3v32/b3v32del.c | 10 +++++----- src/spicelib/devices/bsim4/b4del.c | 10 +++++----- src/spicelib/devices/bsim4v5/b4v5del.c | 10 +++++----- src/spicelib/devices/bsim4v6/b4v6del.c | 10 +++++----- src/spicelib/devices/bsim4v7/b4v7del.c | 10 +++++----- src/spicelib/devices/bsimsoi/b4soidel.c | 10 +++++----- 12 files changed, 60 insertions(+), 60 deletions(-) diff --git a/src/spicelib/devices/bsim3/b3del.c b/src/spicelib/devices/bsim3/b3del.c index 282854030..109df9621 100644 --- a/src/spicelib/devices/bsim3/b3del.c +++ b/src/spicelib/devices/bsim3/b3del.c @@ -27,11 +27,11 @@ BSIM3model *model = (BSIM3model*)inModel; BSIM3instance **prev = NULL; BSIM3instance *here; - for (; model ; model = model->BSIM3nextModel) - { prev = &(model->BSIM3instances); - for (here = *prev; here ; here = *prev) - { if (here->BSIM3name == name || (fast && here==*fast)) - { *prev= here->BSIM3nextInstance; + for (; model ; model = model->BSIM3nextModel) { + prev = &(model->BSIM3instances); + for (here = *prev; here ; here = *prev) { + if (here->BSIM3name == name || (fast && here==*fast)) { + *prev= here->BSIM3nextInstance; FREE(here); return(OK); } diff --git a/src/spicelib/devices/bsim3soi_dd/b3soidddel.c b/src/spicelib/devices/bsim3soi_dd/b3soidddel.c index 0eeb4616e..f9793d576 100644 --- a/src/spicelib/devices/bsim3soi_dd/b3soidddel.c +++ b/src/spicelib/devices/bsim3soi_dd/b3soidddel.c @@ -25,11 +25,11 @@ B3SOIDDmodel *model = (B3SOIDDmodel*)inModel; B3SOIDDinstance **prev = NULL; B3SOIDDinstance *here; - for (; model ; model = model->B3SOIDDnextModel) - { prev = &(model->B3SOIDDinstances); - for (here = *prev; here ; here = *prev) - { if (here->B3SOIDDname == name || (fast && here==*fast)) - { *prev= here->B3SOIDDnextInstance; + for (; model ; model = model->B3SOIDDnextModel) { + prev = &(model->B3SOIDDinstances); + for (here = *prev; here ; here = *prev) { + if (here->B3SOIDDname == name || (fast && here==*fast)) { + *prev= here->B3SOIDDnextInstance; FREE(here); return(OK); } diff --git a/src/spicelib/devices/bsim3soi_fd/b3soifddel.c b/src/spicelib/devices/bsim3soi_fd/b3soifddel.c index 6f1640880..d7cf88912 100644 --- a/src/spicelib/devices/bsim3soi_fd/b3soifddel.c +++ b/src/spicelib/devices/bsim3soi_fd/b3soifddel.c @@ -25,11 +25,11 @@ B3SOIFDmodel *model = (B3SOIFDmodel*)inModel; B3SOIFDinstance **prev = NULL; B3SOIFDinstance *here; - for (; model ; model = model->B3SOIFDnextModel) - { prev = &(model->B3SOIFDinstances); - for (here = *prev; here ; here = *prev) - { if (here->B3SOIFDname == name || (fast && here==*fast)) - { *prev= here->B3SOIFDnextInstance; + for (; model ; model = model->B3SOIFDnextModel) { + prev = &(model->B3SOIFDinstances); + for (here = *prev; here ; here = *prev) { + if (here->B3SOIFDname == name || (fast && here==*fast)) { + *prev= here->B3SOIFDnextInstance; FREE(here); return(OK); } diff --git a/src/spicelib/devices/bsim3soi_pd/b3soipddel.c b/src/spicelib/devices/bsim3soi_pd/b3soipddel.c index f36d9c713..32b92c400 100644 --- a/src/spicelib/devices/bsim3soi_pd/b3soipddel.c +++ b/src/spicelib/devices/bsim3soi_pd/b3soipddel.c @@ -25,11 +25,11 @@ B3SOIPDmodel *model = (B3SOIPDmodel*)inModel; B3SOIPDinstance **prev = NULL; B3SOIPDinstance *here; - for (; model ; model = model->B3SOIPDnextModel) - { prev = &(model->B3SOIPDinstances); - for (here = *prev; here ; here = *prev) - { if (here->B3SOIPDname == name || (fast && here==*fast)) - { *prev= here->B3SOIPDnextInstance; + for (; model ; model = model->B3SOIPDnextModel) { + prev = &(model->B3SOIPDinstances); + for (here = *prev; here ; here = *prev) { + if (here->B3SOIPDname == name || (fast && here==*fast)) { + *prev= here->B3SOIPDnextInstance; FREE(here); return(OK); } diff --git a/src/spicelib/devices/bsim3v0/b3v0del.c b/src/spicelib/devices/bsim3v0/b3v0del.c index 023da2378..e7167fa8c 100644 --- a/src/spicelib/devices/bsim3v0/b3v0del.c +++ b/src/spicelib/devices/bsim3v0/b3v0del.c @@ -21,11 +21,11 @@ BSIM3v0model *model = (BSIM3v0model*)inModel; BSIM3v0instance **prev = NULL; BSIM3v0instance *here; - for (; model ; model = model->BSIM3v0nextModel) - { prev = &(model->BSIM3v0instances); - for (here = *prev; here ; here = *prev) - { if (here->BSIM3v0name == name || (fast && here==*fast)) - { *prev= here->BSIM3v0nextInstance; + for (; model ; model = model->BSIM3v0nextModel) { + prev = &(model->BSIM3v0instances); + for (here = *prev; here ; here = *prev) { + if (here->BSIM3v0name == name || (fast && here==*fast)) { + *prev= here->BSIM3v0nextInstance; FREE(here); return(OK); } diff --git a/src/spicelib/devices/bsim3v1/b3v1del.c b/src/spicelib/devices/bsim3v1/b3v1del.c index d22099f69..b5ad544af 100644 --- a/src/spicelib/devices/bsim3v1/b3v1del.c +++ b/src/spicelib/devices/bsim3v1/b3v1del.c @@ -26,11 +26,11 @@ BSIM3v1model *model = (BSIM3v1model*)inModel; BSIM3v1instance **prev = NULL; BSIM3v1instance *here; - for (; model ; model = model->BSIM3v1nextModel) - { prev = &(model->BSIM3v1instances); - for (here = *prev; here ; here = *prev) - { if (here->BSIM3v1name == name || (fast && here==*fast)) - { *prev= here->BSIM3v1nextInstance; + for (; model ; model = model->BSIM3v1nextModel) { + prev = &(model->BSIM3v1instances); + for (here = *prev; here ; here = *prev) { + if (here->BSIM3v1name == name || (fast && here==*fast)) { + *prev= here->BSIM3v1nextInstance; FREE(here); return(OK); } diff --git a/src/spicelib/devices/bsim3v32/b3v32del.c b/src/spicelib/devices/bsim3v32/b3v32del.c index 4b5227540..6a1b80508 100644 --- a/src/spicelib/devices/bsim3v32/b3v32del.c +++ b/src/spicelib/devices/bsim3v32/b3v32del.c @@ -25,11 +25,11 @@ BSIM3v32model *model = (BSIM3v32model*)inModel; BSIM3v32instance **prev = NULL; BSIM3v32instance *here; - for (; model ; model = model->BSIM3v32nextModel) - { prev = &(model->BSIM3v32instances); - for (here = *prev; here ; here = *prev) - { if (here->BSIM3v32name == name || (fast && here==*fast)) - { *prev= here->BSIM3v32nextInstance; + for (; model ; model = model->BSIM3v32nextModel) { + prev = &(model->BSIM3v32instances); + for (here = *prev; here ; here = *prev) { + if (here->BSIM3v32name == name || (fast && here==*fast)) { + *prev= here->BSIM3v32nextInstance; FREE(here); return(OK); } diff --git a/src/spicelib/devices/bsim4/b4del.c b/src/spicelib/devices/bsim4/b4del.c index 3a36dfe54..53a594341 100644 --- a/src/spicelib/devices/bsim4/b4del.c +++ b/src/spicelib/devices/bsim4/b4del.c @@ -76,11 +76,11 @@ BSIM4model *model = (BSIM4model*)inModel; BSIM4instance **prev = NULL; BSIM4instance *here; - for (; model ; model = model->BSIM4nextModel) - { prev = &(model->BSIM4instances); - for (here = *prev; here ; here = *prev) - { if (here->BSIM4name == name || (fast && here==*fast)) - { *prev= here->BSIM4nextInstance; + for (; model ; model = model->BSIM4nextModel) { + prev = &(model->BSIM4instances); + for (here = *prev; here ; here = *prev) { + if (here->BSIM4name == name || (fast && here==*fast)) { + *prev= here->BSIM4nextInstance; FREE(here); return(OK); } diff --git a/src/spicelib/devices/bsim4v5/b4v5del.c b/src/spicelib/devices/bsim4v5/b4v5del.c index d80dd3cb3..1143324d6 100644 --- a/src/spicelib/devices/bsim4v5/b4v5del.c +++ b/src/spicelib/devices/bsim4v5/b4v5del.c @@ -26,11 +26,11 @@ BSIM4v5model *model = (BSIM4v5model*)inModel; BSIM4v5instance **prev = NULL; BSIM4v5instance *here; - for (; model ; model = model->BSIM4v5nextModel) - { prev = &(model->BSIM4v5instances); - for (here = *prev; here ; here = *prev) - { if (here->BSIM4v5name == name || (fast && here==*fast)) - { *prev= here->BSIM4v5nextInstance; + for (; model ; model = model->BSIM4v5nextModel) { + prev = &(model->BSIM4v5instances); + for (here = *prev; here ; here = *prev) { + if (here->BSIM4v5name == name || (fast && here==*fast)) { + *prev= here->BSIM4v5nextInstance; FREE(here); return(OK); } diff --git a/src/spicelib/devices/bsim4v6/b4v6del.c b/src/spicelib/devices/bsim4v6/b4v6del.c index c57f794c0..d9bc48cea 100644 --- a/src/spicelib/devices/bsim4v6/b4v6del.c +++ b/src/spicelib/devices/bsim4v6/b4v6del.c @@ -28,11 +28,11 @@ BSIM4v6model *model = (BSIM4v6model*)inModel; BSIM4v6instance **prev = NULL; BSIM4v6instance *here; - for (; model ; model = model->BSIM4v6nextModel) - { prev = &(model->BSIM4v6instances); - for (here = *prev; here ; here = *prev) - { if (here->BSIM4v6name == name || (fast && here==*fast)) - { *prev= here->BSIM4v6nextInstance; + for (; model ; model = model->BSIM4v6nextModel) { + prev = &(model->BSIM4v6instances); + for (here = *prev; here ; here = *prev) { + if (here->BSIM4v6name == name || (fast && here==*fast)) { + *prev= here->BSIM4v6nextInstance; FREE(here); return(OK); } diff --git a/src/spicelib/devices/bsim4v7/b4v7del.c b/src/spicelib/devices/bsim4v7/b4v7del.c index 451386877..2ab1b61d3 100644 --- a/src/spicelib/devices/bsim4v7/b4v7del.c +++ b/src/spicelib/devices/bsim4v7/b4v7del.c @@ -28,11 +28,11 @@ BSIM4v7model *model = (BSIM4v7model*)inModel; BSIM4v7instance **prev = NULL; BSIM4v7instance *here; - for (; model ; model = model->BSIM4v7nextModel) - { prev = &(model->BSIM4v7instances); - for (here = *prev; here ; here = *prev) - { if (here->BSIM4v7name == name || (fast && here==*fast)) - { *prev= here->BSIM4v7nextInstance; + for (; model ; model = model->BSIM4v7nextModel) { + prev = &(model->BSIM4v7instances); + for (here = *prev; here ; here = *prev) { + if (here->BSIM4v7name == name || (fast && here==*fast)) { + *prev= here->BSIM4v7nextInstance; FREE(here); return(OK); } diff --git a/src/spicelib/devices/bsimsoi/b4soidel.c b/src/spicelib/devices/bsimsoi/b4soidel.c index e9a3c8a16..cc8bf0fc9 100644 --- a/src/spicelib/devices/bsimsoi/b4soidel.c +++ b/src/spicelib/devices/bsimsoi/b4soidel.c @@ -33,11 +33,11 @@ B4SOImodel *model = (B4SOImodel*)inModel; B4SOIinstance **prev = NULL; B4SOIinstance *here; - for (; model ; model = model->B4SOInextModel) - { prev = &(model->B4SOIinstances); - for (here = *prev; here ; here = *prev) - { if (here->B4SOIname == name || (fast && here==*fast)) - { *prev= here->B4SOInextInstance; + for (; model ; model = model->B4SOInextModel) { + prev = &(model->B4SOIinstances); + for (here = *prev; here ; here = *prev) { + if (here->B4SOIname == name || (fast && here==*fast)) { + *prev= here->B4SOInextInstance; FREE(here); return(OK); }