Mark global variables `psOpen` and `apsNodes` as static since they're not used in other files anyway
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4736 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
c3df150408
commit
11c2f3547e
|
@ -61,7 +61,7 @@ typedef struct _fp_node
|
|||
|
||||
/** List of open nodes in the hash table
|
||||
*/
|
||||
FP_NODE *psOpen;
|
||||
static FP_NODE* psOpen;
|
||||
|
||||
/** Size of closed hash table
|
||||
*/
|
||||
|
@ -69,7 +69,7 @@ FP_NODE *psOpen;
|
|||
|
||||
/** Hash table for closed nodes
|
||||
*/
|
||||
FP_NODE* apsNodes[FPATH_TABLESIZE] = { NULL };
|
||||
static FP_NODE* apsNodes[FPATH_TABLESIZE] = { NULL };
|
||||
|
||||
#define NUM_DIR 8
|
||||
|
||||
|
|
Loading…
Reference in New Issue