lib: internal: graph.h: require logging and BT_ASSERT_{PRE,POST}()
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 28 Jun 2019 20:52:42 +0000 (16:52 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 18 Jul 2019 15:53:33 +0000 (11:53 -0400)
commit0341b021e004a1b9a43d514cb586cecad60e5a85
tree28aa0d9d18d02d9860bc21923b078c9aa4df135e
parent7d0140bc3fed079fa103e3cab75fe984fe48dbda
lib: internal: graph.h: require logging and BT_ASSERT_{PRE,POST}()

This patch makes the internal `graph.h` require what it needs instead of
using the macros only if they exist. This makes it impossible to skip
logging or precondition/postcondition validation in this header.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I157809be7b56720b2f4a241c45491413f5b8366d
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1577
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
src/lib/graph/connection.c
src/lib/graph/graph.h
src/lib/graph/message/event.c
src/lib/graph/message/message.c
src/lib/graph/message/packet.c
src/lib/lib-logging.c
This page took 0.026902 seconds and 4 git commands to generate.