aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FICS/matchproc.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/FICS/matchproc.c b/FICS/matchproc.c
index 8878eed..fcca09f 100644
--- a/FICS/matchproc.c
+++ b/FICS/matchproc.c
@@ -50,6 +50,24 @@
#include "utils.h"
#include "variable.h"
+struct print_bh_context {
+ int pp;
+ int pp1;
+
+ int rated;
+ int type;
+ int white;
+
+ char *board;
+ char *category;
+
+ int binc;
+ int bt;
+
+ int winc;
+ int wt;
+};
+
PUBLIC int
create_new_match(int white_player, int black_player, int wt, int winc, int bt,
int binc, int rated, char *category, char *board, int white)
@@ -441,24 +459,6 @@ PRIVATE int accept_match(int p, int p1)
return COM_OK;
}
-struct print_bh_context {
- int pp;
- int pp1;
-
- int rated;
- int type;
- int white;
-
- char *board;
- char *category;
-
- int binc;
- int bt;
-
- int winc;
- int wt;
-};
-
PRIVATE void
print_bughouse(int p, int p1, struct print_bh_context *ctx, char *colorstr[])
{