projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not use `bool` type; use new `bt_bool` instead
[babeltrace.git]
/
lib
/
babeltrace.c
diff --git
a/lib/babeltrace.c
b/lib/babeltrace.c
index 090fc3bc5039b5df52958a54363e8fed33d2a244..2b675eb299d4eb18a7efd5b6853ae70fe97aa43e 100644
(file)
--- a/
lib/babeltrace.c
+++ b/
lib/babeltrace.c
@@
-27,18
+27,18
@@
*/
#include <babeltrace/babeltrace.h>
*/
#include <babeltrace/babeltrace.h>
+#include <babeltrace/types.h>
#include <stdlib.h>
#include <stdlib.h>
-#include <stdbool.h>
-bool babeltrace_verbose, babeltrace_debug;
+b
t_b
ool babeltrace_verbose, babeltrace_debug;
static
void __attribute__((constructor)) init_babeltrace_lib(void)
{
if (getenv("BABELTRACE_VERBOSE"))
static
void __attribute__((constructor)) init_babeltrace_lib(void)
{
if (getenv("BABELTRACE_VERBOSE"))
- babeltrace_verbose =
1
;
+ babeltrace_verbose =
BT_TRUE
;
if (getenv("BABELTRACE_DEBUG"))
if (getenv("BABELTRACE_DEBUG"))
- babeltrace_debug =
1
;
+ babeltrace_debug =
BT_TRUE
;
}
int bt_version_get_major(void)
}
int bt_version_get_major(void)
This page took
0.023348 seconds
and
4
git commands to generate.