summaryrefslogtreecommitdiff
path: root/math/prng/patches/patch-src_dicg.c
blob: 51ca383590340b04c91befa026e9dec4a1128358 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-src_dicg.c,v 1.1 2012/11/01 19:42:01 joerg Exp $

--- src/dicg.c.orig	2012-10-30 20:00:40.000000000 +0000
+++ src/dicg.c
@@ -441,7 +441,7 @@ t->pton[29] = 1073741823;
  * Algorithm by Karin Schaber and Otmar Lendl.
  *
  */                                                  
-inline prng_num prng_dicg_multiply(int k,prng_num c, prng_num d)
+prng_num prng_dicg_multiply(int k,prng_num c, prng_num d)
 {
   int i;
   struct mtable *t;
@@ -593,7 +593,7 @@ void prng_dicg_seed(struct prng *gen,prn
  *      gen:  Pointer to a struct prng.
  *
  */
-inline prng_num prng_dicg_get_next_int(struct prng *gen) /* DUMMY !!!!*/
+prng_num prng_dicg_get_next_int(struct prng *gen) /* DUMMY !!!!*/
 {
   s_prng_num inv, current, prod;
 
@@ -619,7 +619,7 @@ inline prng_num prng_dicg_get_next_int(s
  *      gen:  Pointer to a struct prng.
  *
  */
-inline double prng_dicg_get_next(struct prng *gen)
+double prng_dicg_get_next(struct prng *gen)
 {
   return(prng_dicg_get_next_int(gen) * gen->data.dicg_data.inv_p);
 }