From 82d30469bd9dd9bd3d5080f32801c218cdc1f642 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 18 Jun 2012 19:44:03 +0200 Subject: [PATCH] buffer_tree.h: Fix gcc warning. "loglevel" is declared as a global variable elsewhere, and gcc-3.3.3 complains beacuse of this: buffer_tree.h:199: warning: declaration of `loglevel' shadows a global declaration Just call the thing "ll". --- buffer_tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buffer_tree.h b/buffer_tree.h index 4d27ec7b..a9890b98 100644 --- a/buffer_tree.h +++ b/buffer_tree.h @@ -196,7 +196,7 @@ void btr_splice_out_node(struct btr_node *btrn); void btr_pushdown(struct btr_node *btrn); void *btr_context(struct btr_node *btrn); void btr_merge(struct btr_node *btrn, size_t dest_size); -void btr_log_tree(struct btr_node *btrn, int loglevel); +void btr_log_tree(struct btr_node *btrn, int ll); void btr_pushdown_one(struct btr_node *btrn); bool btr_inplace_ok(struct btr_node *btrn); int btr_node_status(struct btr_node *btrn, size_t min_iqs, -- 2.39.5