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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Nov 2019 19:24:17 +0000 (14:24 -0500)
commit83ab55b888ce8d3081e68dc067998fc71eeff28e
treece2b09fc71cc88ab0a49e46af93105fe3d6f5ead
parentb007e40bc133f5d8606886b18043ef894817d9ab
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.027532 seconds and 4 git commands to generate.