aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/ratings.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-04-04 02:09:55 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-04-04 02:09:55 +0200
commit8d5c5b8127c66356b188f5fd206521e6c76f6db1 (patch)
treeb33be54cd9eac71d174271e28f237f0e8e8c0be9 /FICS/ratings.c
parent32974d985ec47a3e9389647f38bd86c2b03c4d31 (diff)
Reformatted rating_delta()
Diffstat (limited to 'FICS/ratings.c')
-rw-r--r--FICS/ratings.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/FICS/ratings.c b/FICS/ratings.c
index 713d144..4178c36 100644
--- a/FICS/ratings.c
+++ b/FICS/ratings.c
@@ -587,16 +587,14 @@ PUBLIC void rating_sterr_delta(int p1, int p2, int type, int gtime, int result,
*newsterr = (double) sigma;
}
-/* vek: Next is for when we want just the delta, and not the sigma. */
-
-PUBLIC int rating_delta(int p1, int p2, int type, int result, int gtime)
+PUBLIC int
+rating_delta(int p1, int p2, int type, int result, int gtime)
{
- int delta;
- double sigma;
-
- rating_sterr_delta(p1, p2, type, gtime, result, &delta, &sigma);
- return (delta);
+ int delta;
+ double sigma;
+ rating_sterr_delta(p1, p2, type, gtime, result, &delta, &sigma);
+ return delta;
}
PUBLIC int