Debian Codegraph @

debian/patches/use_stdbool.patch

raw symbols SCIP
1 Authorscip-debian debian i7z 0.27.2+git2013.10.12-g5023138-8 i7z/patches/`use_stdbool.patch`#Author.: Andreas Beckmann <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Descriptionscip-debian debian i7z 0.27.2+git2013.10.12-g5023138-8 i7z/patches/`use_stdbool.patch`#Description.: use a consistent bool type
3 Bug-Debianscip-debian debian i7z 0.27.2+git2013.10.12-g5023138-8 i7z/patches/`use_stdbool.patch`#Bug-Debian.: #749724scip-debian-bts debian-bts . . 749724:
4
5 --- a/i7z.hscip-debian debian i7z 0.27.2+git2013.10.12-g5023138-8 i7z/upstream/`i7z.h`:
6 +++ b/i7z.hscip-debian debian i7z 0.27.2+git2013.10.12-g5023138-8 i7z/upstream/`i7z.h`:
7 @@ -11,18 +11,13 @@
8 * ----------------------------------------------------------------------- */
9
10 #include <sys/time.h>
11 +#include <stdbool.h>
12
13 #define i7z_VERSION_INFO "svn-r93-(27-MAY-2013)"
14
15 //structure to store the information about the processor
16 #define proccpuinfo "/proc/cpuinfo"
17
18 -#ifndef bool
19 -#define bool int
20 -#endif
21 -#define false 0
22 -#define true 1
23 -
24 #define MAX_PROCESSORS 128
25 #define MAX_HI_PROCESSORS MAX_PROCESSORS
26 #define MAX_SK_PROCESSORS (MAX_PROCESSORS/4)
27 --- a/cpuinfo.cscip-debian debian i7z 0.27.2+git2013.10.12-g5023138-8 i7z/upstream/`cpuinfo.c`:
28 +++ b/cpuinfo.cscip-debian debian i7z 0.27.2+git2013.10.12-g5023138-8 i7z/upstream/`cpuinfo.c`:
29 @@ -2,10 +2,8 @@
30 #include "string.h"
31 #include "stdlib.h"
32 #include "assert.h"
33 +#include <stdbool.h>
34 #define MAX_PROCESSORS 32
35 -#define bool int
36 -#define false 0
37 -#define true 1
38
39 #define MAX_HI_PROCESSORS MAX_PROCESSORS
40