diff options
author | Russ Allbery <rra@debian.org> | 2016-07-02 13:38:40 -0700 |
---|---|---|
committer | Russ Allbery <rra@debian.org> | 2016-07-02 13:38:40 -0700 |
commit | a92a560637b87da633f44af0049f55e419a0dd05 (patch) | |
tree | ce8d2ad89e6769d97e8662f95867823eea9b6e84 /mec.c | |
parent | 6fd8c2586f4de4f7f8f70dfc19f0ef51f44ea4c7 (diff) |
Imported Upstream version 1.05.002
Diffstat (limited to 'mec.c')
-rw-r--r-- | mec.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -28,7 +28,7 @@ * * gcc -DMEC_STANDALONE mec.c -o mec * - * $Id: mec.c,v 1.9 2013/07/22 18:51:01 mdpetch Exp $ + * $Id: mec.c,v 1.10 2015/10/23 21:32:59 plm Exp $ */ #include "config.h" @@ -46,13 +46,13 @@ struct dp { typedef struct dp dp; -void post_crawford(double, double, int, double **, double, double); +static void post_crawford(double, double, int, double **, double, double); -void crawford(double, double, int, double **); +static void crawford(double, double, int, double **); -void pre_crawford(double, double, int, double **); +static void pre_crawford(double, double, int, double **); -dp dpt(int, int, int, double, double, double **); +static dp dpt(int, int, int, double, double, double **); /* * Arguments are (in this order): @@ -343,7 +343,7 @@ mec(const float rGammonRate, const float rWinRate, /* sq returns x if x is greater than zero, else it returns zero. */ #define sq(x) ((x)>0?(x):0) -void +static void post_crawford(double gr, double wpf, int ml, /*lint -e{818} */ double **E, double fd2, double fd4) { @@ -380,7 +380,7 @@ post_crawford(double gr, double wpf, int ml, /*lint -e{818} */ double **E, } } -void +static void crawford(double gr, double wpf, int ml, /*lint -e{818} */ double **E) { int i; @@ -402,7 +402,7 @@ crawford(double gr, double wpf, int ml, /*lint -e{818} */ double **E) } } -void +static void pre_crawford(double gr, double wpf, int ml, double **E) { int i, j; @@ -439,7 +439,7 @@ pre_crawford(double gr, double wpf, int ml, double **E) * p wins wpp % of games, and equities E for favorite. At this * point o does equally well passing the double as taking it. */ -dp +static dp dpt(int p, int o, int c, double gr, double wpp, double **E) { dp dpo, dpp; |