lib: mark bt_common_assert_failed as hidden
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 18 Nov 2019 21:45:46 +0000 (16:45 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 19 Nov 2019 16:04:04 +0000 (11:04 -0500)
commit3b3873c8cbcad1728230e5e12183e7705681193a
tree30dd798401cf2645e4a54474134e4d7434b07cab
parent86aeb6b8524b0a8affcfea1c72a92ea256e68c9e
lib: mark bt_common_assert_failed as hidden

I noticed that the bt_common_assert_failed symbol was exported.  This is
not desirable, as it's not part of the API, so mark it with BT_HIDDEN.

As a consequence, a bunch of small tests that use BT_ASSERT miss this
symbol, as they were getting it from libbabeltrace2.  Make them depend
on libbabeltrace2-common (and libbabeltrace2-logging) directly to fix
that.

Change-Id: I25ab69e7df08f508389f5c9c3db5571ee7b06d7b
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2402
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/common/assert.h
tests/ctf-writer/Makefile.am
tests/lib/Makefile.am
tests/lib/test-plugin-plugins/Makefile.am
tests/plugins/sink.ctf.fs/succeed/Makefile.am
tests/plugins/src.ctf.fs/succeed/Makefile.am
This page took 0.025025 seconds and 4 git commands to generate.