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)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 29 Jun 2019 06:04:08 +0000 (02:04 -0400)
commit51375aa95adf2f601f74a5a1f1665ca685584388
tree9ac418da1820698dfe16921be9d3aaba7805076f
parentce53ba7aa47854de310cd47b9553a2ae8ff32aee
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.038978 seconds and 4 git commands to generate.