diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-04-02 22:16:10 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-04-02 22:16:10 +0200 |
commit | efc8bb48f6a89cb8a86dab1e14a23d48ae999f26 (patch) | |
tree | e9d635d75a73db01ff6cfc54ada2863cd05bc965 /FICS/ratings.c | |
parent | 77bfa7993b3deb5e0a4ff95a9b166d56bf04e218 (diff) |
Reformatted functions
Diffstat (limited to 'FICS/ratings.c')
-rw-r--r-- | FICS/ratings.c | 34 |
1 files changed, 23 insertions, 11 deletions
diff --git a/FICS/ratings.c b/FICS/ratings.c index 535ca50..2eedad4 100644 --- a/FICS/ratings.c +++ b/FICS/ratings.c @@ -885,24 +885,36 @@ PUBLIC int com_assess(int p, param_list param) return COM_OK; } - -PUBLIC int com_best(int p, param_list param) +PUBLIC int +com_best(int p, param_list param) { - return Best(p, param, 1); + return Best(p, param, 1); } -PUBLIC int com_hbest(int p, param_list param) +PUBLIC int +com_hbest(int p, param_list param) { - return Best(p, param, 0); + return Best(p, param, 0); } -PUBLIC int com_statistics(int p, param_list param) +PUBLIC int +com_statistics(int p, param_list param) { - pprintf(p, " Standard Blitz Lightning Wild\n"); - pprintf(p, "average: %7.2f %7.2f %7.2f %7.2f\n", Ratings_S_Average, Ratings_B_Average, Ratings_L_Average, Ratings_W_Average); - pprintf(p, "std dev: %7.2f %7.2f %7.2f %7.2f\n", Ratings_S_StdDev, Ratings_B_StdDev, Ratings_L_StdDev, Ratings_W_StdDev); - pprintf(p, "number : %7d %7d %7d %7d\n", Rs_count, Rb_count, Rl_count, Rw_count); - return COM_OK; + pprintf(p, " Standard Blitz Lightning " + "Wild\n"); + pprintf(p, "average: %7.2f %7.2f %7.2f %7.2f\n", + Ratings_S_Average, + Ratings_B_Average, + Ratings_L_Average, + Ratings_W_Average); + pprintf(p, "std dev: %7.2f %7.2f %7.2f %7.2f\n", + Ratings_S_StdDev, + Ratings_B_StdDev, + Ratings_L_StdDev, + Ratings_W_StdDev); + pprintf(p, "number : %7d %7d %7d %7d\n", + Rs_count, Rb_count, Rl_count, Rw_count); + return COM_OK; } PUBLIC int |