aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-03-29 20:34:24 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-03-29 20:34:24 +0100
commit4d47dced7095c9510753a06c2754dfbf77186055 (patch)
treeeabd6279d081969f5df90c702dc6b947497a5d5e
parent63806e7176b585fc0da362cce569ce58694e372f (diff)
Moved struct
-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[])
{