Remove global variables from search.h

Globals are not really needed, so redefine as locals.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2009-06-11 15:11:08 +02:00
parent 3e0753bef3
commit d2c2af9e1c
3 changed files with 26 additions and 50 deletions

View File

@@ -26,12 +26,7 @@
////
#include "depth.h"
#include "history.h"
#include "lock.h"
#include "movegen.h"
#include "position.h"
#include "tt.h"
#include "value.h"
#include "move.h"
////
@@ -65,15 +60,6 @@ struct SearchStack {
};
////
//// Global variables
////
extern TranspositionTable TT;
extern int ActiveThreads;
extern Lock SMPLock;
////
//// Prototypes
////