File: probe.c.patch

package info (click to toggle)
sjeng 11.2-15.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,444 kB
  • sloc: ansic: 13,378; sh: 324; makefile: 29
file content (23 lines) | stat: -rw-r--r-- 368 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Author: Lukas Geyer <geyer@math.uni-dortmund.de>
Description: General code cleanup.

--- sjeng-11.2.orig/probe.c
+++ sjeng-11.2/probe.c
@@ -121,7 +121,8 @@
 #endif
 }
 
-const static int EGTranslate(int sqidx)
+#ifdef USE_EGTB
+static int EGTranslate(int sqidx)
 {
   int r;
 
@@ -129,6 +130,7 @@
   
   return r;
 }
+#endif
 
 int probe_egtb(void)
 {