From 7880d5bd8eeb7d38d7aa664e8285d777cb246c43 Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 19 Feb 2011 16:47:30 +0000 Subject: [PATCH] cleanup some whitespace errors and prototypes --- ChangeLog | 7 +++++++ configure.ac | 4 ++-- examples/transient-noise/shot_ng.cir | 2 +- src/Makefile.am | 2 +- src/frontend/trannoise/FastNorm3.c | 6 +++--- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index c105e7dc2..1fb735ac4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-02-19 Robert Larice + * configure.ac , + * examples/transient-noise/shot_ng.cir , + * src/Makefile.am , + * src/frontend/trannoise/FastNorm3.c : + cleanup some whitespace errors and prototypes + 2011-02-19 Robert Larice * src/frontend/numparam/Makefile.am , * src/frontend/numparam/general.h , diff --git a/configure.ac b/configure.ac index 1cc4dd137..b848312c4 100644 --- a/configure.ac +++ b/configure.ac @@ -1073,12 +1073,12 @@ AC_CONFIG_FILES([Makefile src/frontend/help/Makefile src/frontend/parser/Makefile src/frontend/plotting/Makefile - src/frontend/trannoise/Makefile + src/frontend/trannoise/Makefile src/frontend/wdisp/Makefile src/include/Makefile src/maths/Makefile src/maths/cmaths/Makefile - src/maths/fft/Makefile + src/maths/fft/Makefile src/maths/misc/Makefile src/maths/ni/Makefile src/maths/deriv/Makefile diff --git a/examples/transient-noise/shot_ng.cir b/examples/transient-noise/shot_ng.cir index a8c2f5e14..ed06c81c8 100644 --- a/examples/transient-noise/shot_ng.cir +++ b/examples/transient-noise/shot_ng.cir @@ -24,4 +24,4 @@ plot (-1)*i(vdev) meas tran vdev_rms avg i(vdev) from=0u to=9.9u meas tran vdev_rms avg i(vdev) from=10.1u to=20u .endc -.end \ No newline at end of file +.end diff --git a/src/Makefile.am b/src/Makefile.am index 912baad87..a1f7b67fd 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -374,7 +374,7 @@ endif libspice_la_LIBADD += \ frontend/parser/libparser.la \ frontend/numparam/libnumparam.la \ - frontend/trannoise/libtrannoise.la \ + frontend/trannoise/libtrannoise.la \ spicelib/parser/libinp.la if CIDER_WANTED diff --git a/src/frontend/trannoise/FastNorm3.c b/src/frontend/trannoise/FastNorm3.c index c5b1804a0..7b8014ff1 100644 --- a/src/frontend/trannoise/FastNorm3.c +++ b/src/frontend/trannoise/FastNorm3.c @@ -575,7 +575,7 @@ Sf wk1 [WL], wk2 [WL]; /* Pools of variates. */ /* ------------------ regen ---------------------- */ /* Takes variates from wk1[], transforms to wk[2], then back to wk1[]. */ -void regen () +static void regen (void) { Sw i, j, k, m; Sf p, q, r, s, t; @@ -693,7 +693,7 @@ Sf renormalize (void) /* ------------------------ BoxMuller ---------------------- */ /* Fills block gvec of length ll with proper normals */ -void boxmuller (Sf *gvec, Sw ll) +static void boxmuller (Sf *gvec, Sw ll) { Sw i; Sf tx, ty, tr, tz; @@ -804,7 +804,7 @@ docheck: fastnorm() returns the value GScale*gausssave[0]. */ -Sf fastnorm () +Sf fastnorm (void) { Sf sos; Sw n1;