blob: b0ce95bf2ae815b99048c884b244d687812f7b01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- a/rmq.h
+++ b/rmq.h
@@ -2,15 +2,12 @@
#define _rmq_h_
#include <math.h>
-
-#define false 0
-#define true 1
+#include <stdbool.h>
typedef int DT; // use long for 64bit-version (but take care of fast log!)
typedef unsigned int DTidx; // for indexing in arrays
typedef unsigned char DTsucc;
typedef unsigned short DTsucc2;
-typedef int bool;
DTidx query(DTidx, DTidx);
void RMQ_succinct(DT* a, DTidx n);
void RMQ_succinct_destroy(void);
|