Description: upstream examples -- wipe out undesirable blanks
 Wipe out undesirable (and highly annoying) blank characters and alikes
 in the C source examples; meant to be submitted to the upstream maintainer
 team.
Origin: debian
Forwarded: no-more-maintained-by-upstream
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2015-05-18

--- a/examples/birth1.c
+++ b/examples/birth1.c
@@ -1,4 +1,3 @@
-
 #include <testu01/unif01.h>
 #include <testu01/ulcg.h>
 #include <testu01/smarsa.h>
--- a/examples/birth2.c
+++ b/examples/birth2.c
@@ -1,4 +1,3 @@
-
 #include <testu01/unif01.h>
 #include <testu01/ulcg.h>
 #include <testu01/sres.h>
--- a/examples/ex1.c
+++ b/examples/ex1.c
@@ -1,10 +1,9 @@
-
 #include <testu01/unif01.h>
 #include <testu01/ulcg.h>
 #include <testu01/ulec.h>
 #include <stdio.h>
 
-int main (void) 
+int main (void)
 {
    int i;
    double x;
--- a/examples/ex4.c
+++ b/examples/ex4.c
@@ -1,4 +1,3 @@
-
 #include <testu01/unif01.h>
 #include <testu01/utaus.h>
 #include <stdio.h>
--- a/examples/ex7.c
+++ b/examples/ex7.c
@@ -1,11 +1,10 @@
-
 #include <testu01/unif01.h>
 #include <testu01/bbattery.h>
 
 unsigned int xorshift (void);
 double MRG32k3a (void);
 
-int main (void) 
+int main (void)
 {
    unif01_Gen *gen;
 
--- a/examples/mrg32k3a.c
+++ b/examples/mrg32k3a.c
@@ -1,30 +1,29 @@
+#define norm 2.328306549295728e-10
+#define m1   4294967087.0
+#define m2   4294944443.0
+#define a12     1403580.0
+#define a13n     810728.0
+#define a21      527612.0
+#define a23n    1370589.0
 
- #define norm 2.328306549295728e-10
- #define m1   4294967087.0
- #define m2   4294944443.0
- #define a12     1403580.0
- #define a13n     810728.0
- #define a21      527612.0
- #define a23n    1370589.0
+static double s10 = 12345, s11 = 12345, s12 = 123,
+              s20 = 12345, s21 = 12345, s22 = 123;
 
- static double s10 = 12345, s11 = 12345, s12 = 123,
-               s20 = 12345, s21 = 12345, s22 = 123;
+double MRG32k3a (void)
+{
+   long   k;
+   double p1, p2;
+   /* Component 1 */
+   p1 = a12 * s11 - a13n * s10;
+   k = p1 / m1;   p1 -= k * m1;   if (p1 < 0.0) p1 += m1;
+   s10 = s11;   s11 = s12;   s12 = p1;
 
- double MRG32k3a (void)
- {
-    long   k;
-    double p1, p2;
-    /* Component 1 */
-    p1 = a12 * s11 - a13n * s10;
-    k = p1 / m1;   p1 -= k * m1;   if (p1 < 0.0) p1 += m1;
-    s10 = s11;   s11 = s12;   s12 = p1;
+   /* Component 2 */
+   p2 = a21 * s22 - a23n * s20;
+   k  = p2 / m2;  p2 -= k * m2;   if (p2 < 0.0) p2 += m2;
+   s20 = s21;   s21 = s22;   s22 = p2;
 
-    /* Component 2 */
-    p2 = a21 * s22 - a23n * s20;
-    k  = p2 / m2;  p2 -= k * m2;   if (p2 < 0.0) p2 += m2;
-    s20 = s21;   s21 = s22;   s22 = p2;
-
-    /* Combination */
-    if (p1 <= p2) return ((p1 - p2 + m1) * norm);
-    else return ((p1 - p2) * norm);
- }
+   /* Combination */
+   if (p1 <= p2) return ((p1 - p2 + m1) * norm);
+   else return ((p1 - p2) * norm);
+}
