This convenience library is linked statically with the various plugins
that use it. The symbols are currently not marked as hidden, which
causes the plugins that use it (e.g. babeltrace-plugin-ctf.so) to expose
them publically. Sad.
Mark the symbols as hidden to avoid that.
Change-Id: If099b529f7c126f5defd5242486009c3fd4195eb
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2409
Tested-by: jenkins <jenkins@lttng.org>
#include <stdio.h> /* For __MINGW_PRINTF_FORMAT. */
+#include <common/macros.h>
+
#ifdef __MINGW_PRINTF_FORMAT
# define BT_PRINTF_FORMAT __MINGW_PRINTF_FORMAT
#else
const struct bt_param_validation_value_descr value_descr;
};
+BT_HIDDEN
enum bt_param_validation_status bt_param_validation_validate(
const bt_value *params,
const struct bt_param_validation_map_value_entry_descr *entries,
gchar **error);
+BT_HIDDEN
__attribute__((format(BT_PRINTF_FORMAT, 2, 3)))
enum bt_param_validation_status bt_param_validation_error(
struct bt_param_validation_context *ctx,