lib: remove includes from logging.h
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 22 Oct 2019 15:16:58 +0000 (11:16 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 22 Oct 2019 16:50:52 +0000 (12:50 -0400)
commit4b3b8e4ad436df173c9ecdf8279ccaa3a6d41201
treeb1fb4a4b4083f5a3706385b70a66ddcbc36034d4
parent981f33ddf743a4f38b959afb7afe66083ce0ed76
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.024173 seconds and 4 git commands to generate.