From 8124b83e36417244d59cf8cea8d30be3cf29fc34 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Fri, 17 Sep 2021 16:01:33 +0200 Subject: [PATCH] Rename contest to contest_mode --- src/utictactoe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utictactoe.c b/src/utictactoe.c index 17d4b2e..7712211 100644 --- a/src/utictactoe.c +++ b/src/utictactoe.c @@ -42,7 +42,7 @@ int main(int argc, char* argv[]) { int optc; int cross_ai, round_ai = 0; int inception_level = 0; - bool contest = false; + bool contest_mode = false; char * contest_file; static struct option long_opts[] = { @@ -115,7 +115,7 @@ int main(int argc, char* argv[]) { fprintf(stderr, "Error: contest need a file\n"); exit (EXIT_FAILURE); } - contest = true; + contest_mode = true; printf ("contest activated\n"); break; case 'V':