X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fbabeltrace.c;h=ab2b6bc8d2c82af3eb7d6623813c4c1fcc34aacf;hb=59e3c4db009ddcef01ad326567d86841acb8e2d2;hp=090fc3bc5039b5df52958a54363e8fed33d2a244;hpb=a2edfc7df6210125fa51b0a89469a24f659425d0;p=babeltrace.git diff --git a/lib/babeltrace.c b/lib/babeltrace.c index 090fc3bc..ab2b6bc8 100644 --- a/lib/babeltrace.c +++ b/lib/babeltrace.c @@ -27,19 +27,8 @@ */ #include +#include #include -#include - -bool babeltrace_verbose, babeltrace_debug; - -static -void __attribute__((constructor)) init_babeltrace_lib(void) -{ - if (getenv("BABELTRACE_VERBOSE")) - babeltrace_verbose = 1; - if (getenv("BABELTRACE_DEBUG")) - babeltrace_debug = 1; -} int bt_version_get_major(void) {