lib: remove includes from logging.h
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 22 Oct 2019 15:16:58 +0000 (11:16 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 30 Oct 2019 19:14:52 +0000 (15:14 -0400)
commit109730d9c5fe6172f409fb5b3fb96d48f9adf786
tree5bc56263ae147a90cd1938d3abf0d006e2c67211
parentc7cc9a2ae51f9dd831169a520c40c8ab048e9b10
lib: remove includes from logging.h

Nothing in logging.h uses anything from those includes.

Removing them causes this failure in py-common.c:

  CC       py-common.lo
In file included from /home/smarchi/src/babeltrace/src/py-common/py-common.c:32:0:
/home/smarchi/src/babeltrace/src/py-common/py-common.h:44:18: error: unknown type name ‘bool’; did you mean ‘_Bool’?
   int log_level, bool chain);
                  ^~~~
                  _Bool

Doing this change revealed a few files that were using bool without
including stdbool.h, add the includes there.

Change-Id: Ica802312a21c2a28cfaa1011d0034f0d1f65594e
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2241
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
include/babeltrace2/logging.h
src/cli/babeltrace2-plugins.c
src/plugins/common/param-validation/param-validation.h
src/py-common/py-common.h
This page took 0.026054 seconds and 4 git commands to generate.