*/
#include <stdlib.h>
+#include <string.h>
#include <inttypes.h>
#include <arpa/inet.h>
struct expr *expr;
};
-static struct output_ctx debug_octx = {};
-
static void seg_tree_init(struct seg_tree *tree, const struct set *set,
struct expr *init, unsigned int debug_mask)
{
bool merge)
{
struct elementary_interval *ei, *next;
+ struct output_ctx debug_octx;
struct seg_tree tree;
LIST_HEAD(list);
}
if (segtree_debug(tree.debug_mask)) {
+ memset(&debug_octx, 0, sizeof(debug_octx));
+ debug_octx.output_fp = stderr;
+ debug_octx.error_fp = stderr;
expr_print(init, &debug_octx);
pr_gmp_debug("\n");
}