lib: make graph API const-correct
[babeltrace.git] / lib / babeltrace.c
index 2b675eb299d4eb18a7efd5b6853ae70fe97aa43e..1623b6ea7f9fe7458ace5ea48ee396f08d5051da 100644 (file)
@@ -1,8 +1,4 @@
 /*
- * babeltrace.c
- *
- * Babeltrace Library
- *
  * Copyright 2010-2011 EfficiOS Inc. and Linux Foundation
  *
  * Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  * SOFTWARE.
  */
 
-#include <babeltrace/babeltrace.h>
+#include <babeltrace/version.h>
 #include <babeltrace/types.h>
 #include <stdlib.h>
 
-bt_bool babeltrace_verbose, babeltrace_debug;
-
-static
-void __attribute__((constructor)) init_babeltrace_lib(void)
-{
-       if (getenv("BABELTRACE_VERBOSE"))
-               babeltrace_verbose = BT_TRUE;
-       if (getenv("BABELTRACE_DEBUG"))
-               babeltrace_debug = BT_TRUE;
-}
-
 int bt_version_get_major(void)
 {
        return BT_VERSION_MAJOR;
This page took 0.022985 seconds and 4 git commands to generate.