Use the actual bool type instead of a fake enum 44/193944/2
authorMichal Bloch <m.bloch@samsung.com>
Tue, 27 Nov 2018 18:20:07 +0000 (19:20 +0100)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Fri, 30 Nov 2018 00:30:25 +0000 (00:30 +0000)
commit227dc3051568014a2cfb83c8641b108f2083bb55
tree1b2d6dda99f66cb4e8d972166ca795f846572e4e
parentf9e7edeec9e8a42d54fada49fd5b65c4e2a5d1a0
Use the actual bool type instead of a fake enum

Improves type correctness and fixes a case of two functions
being identical - `log_config_get_boolean` used to just call
`log_config_get_int` with the same parameters and did not
even touch the return value.

Includes tests for `log_config_get_boolean`.

Change-Id: I185dfac32d40bcab3ddbf95d3b4536c2d275098e
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
include/logconfig.h
include/ptrs_list.h
src/logger/log_storage.c
src/logger/logger.c
src/shared/logconfig.c
src/shared/ptrs_list.c
src/tests/config.c