Root/gnuchess/patches/001_static_definition.patch

1diff -crB gnuchess-5.07/src/common.h gnuchess-5.07.mod/src/common.h
2*** gnuchess-5.07/src/common.h 2003-06-30 13:28:38.000000000 +0200
3--- gnuchess-5.07.mod/src/common.h 2010-03-19 20:32:10.474722004 +0100
4***************
5*** 716,722 ****
6  
7  /* Input thread and thread function */
8  #include <pthread.h>
9! extern pthread_t input_thread;
10  void *input_func(void *);
11  
12  /*
13--- 716,722 ----
14  
15  /* Input thread and thread function */
16  #include <pthread.h>
17! static pthread_t input_thread;
18  void *input_func(void *);
19  
20  /*
21

Archive Download this file



interactive