Browse Source

cleanup some whitespace errors and prototypes

pre-master-46
rlar 15 years ago
parent
commit
7880d5bd8e
  1. 7
      ChangeLog
  2. 6
      src/frontend/trannoise/FastNorm3.c

7
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 2011-02-19 Robert Larice
* src/frontend/numparam/Makefile.am , * src/frontend/numparam/Makefile.am ,
* src/frontend/numparam/general.h , * src/frontend/numparam/general.h ,

6
src/frontend/trannoise/FastNorm3.c

@ -575,7 +575,7 @@ Sf wk1 [WL], wk2 [WL]; /* Pools of variates. */
/* ------------------ regen ---------------------- */ /* ------------------ regen ---------------------- */
/* Takes variates from wk1[], transforms to wk[2], then back to wk1[]. /* Takes variates from wk1[], transforms to wk[2], then back to wk1[].
*/ */
void regen ()
static void regen (void)
{ {
Sw i, j, k, m; Sw i, j, k, m;
Sf p, q, r, s, t; Sf p, q, r, s, t;
@ -693,7 +693,7 @@ Sf renormalize (void)
/* ------------------------ BoxMuller ---------------------- */ /* ------------------------ BoxMuller ---------------------- */
/* Fills block gvec of length ll with proper normals */ /* Fills block gvec of length ll with proper normals */
void boxmuller (Sf *gvec, Sw ll)
static void boxmuller (Sf *gvec, Sw ll)
{ {
Sw i; Sw i;
Sf tx, ty, tr, tz; Sf tx, ty, tr, tz;
@ -804,7 +804,7 @@ docheck:
fastnorm() returns the value GScale*gausssave[0]. fastnorm() returns the value GScale*gausssave[0].
*/ */
Sf fastnorm ()
Sf fastnorm (void)
{ {
Sf sos; Sf sos;
Sw n1; Sw n1;

Loading…
Cancel
Save