Skip to content

Commit

Permalink
add redundant? includes
Browse files Browse the repository at this point in the history
  • Loading branch information
abulmo committed Dec 11, 2024
1 parent 9fdb3f7 commit de4b1e0
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/ggs.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@
#include "ui.h"

#include <assert.h>
#include <inttypes.h>
#include <ctype.h>
#include <errno.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>

#include <sys/types.h>
Expand Down
2 changes: 2 additions & 0 deletions src/obftest.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include "const.h"
#include "settings.h"

#include <inttypes.h>
#include <stdint.h>
#include <stdlib.h>

/** OBF structure: Othello Board File */
Expand Down
4 changes: 3 additions & 1 deletion src/perft.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
#include "util.h"
#include "perft.h"

#include <stdlib.h>
#include <inttypes.h>
#include <math.h>
#include <stdint.h>
#include <stdlib.h>

/**
* Gathered statistiscs
Expand Down
2 changes: 2 additions & 0 deletions src/play.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include "settings.h"

#include <assert.h>
#include <inttypes.h>
#include <stdint.h>

/**
* @brief Initialization.
Expand Down
6 changes: 4 additions & 2 deletions src/root.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@

#include "bit.h"
#include "options.h"
#include "settings.h"
#include "stats.h"
#include "util.h"
#include "ybwc.h"
#include "settings.h"

#include <stdlib.h>
#include <assert.h>
#include <inttypes.h>
#include <stdint.h>
#include <stdlib.h>

extern Log search_log;
extern Log engine_log;
Expand Down
2 changes: 2 additions & 0 deletions src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@
#include "settings.h"

#include <assert.h>
#include <inttypes.h>
#include <limits.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
Expand Down
2 changes: 2 additions & 0 deletions src/stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include "ybwc.h"

#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>

Statistics statistics;

Expand Down
2 changes: 2 additions & 0 deletions src/stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

#include <stdatomic.h>
#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>

/* To turn on a statistics, add an x to the end of the line starting with #define .*/

Expand Down

0 comments on commit de4b1e0

Please sign in to comment.