X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace2%2Ftrace-ir%2Fclock-snapshot-const.h;h=e0d87b92b501ffe7bc7232c40262db3a2aab4c9a;hp=00a47d69606c4e9594f05acd53c883fd1ce78469;hb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3;hpb=924dc299c8a893e92fcd985fa05c245b591ef314 diff --git a/include/babeltrace2/trace-ir/clock-snapshot-const.h b/include/babeltrace2/trace-ir/clock-snapshot-const.h index 00a47d69..e0d87b92 100644 --- a/include/babeltrace2/trace-ir/clock-snapshot-const.h +++ b/include/babeltrace2/trace-ir/clock-snapshot-const.h @@ -27,16 +27,15 @@ * http://www.efficios.com/ctf */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #include /* For bt_clock_class, bt_clock_snapshot */ #include -/* For __BT_FUNC_STATUS_* */ -#define __BT_FUNC_STATUS_ENABLE -#include -#undef __BT_FUNC_STATUS_ENABLE - #ifdef __cplusplus extern "C" { #endif @@ -61,6 +60,4 @@ bt_clock_snapshot_get_ns_from_origin( } #endif -#include - #endif /* BABELTRACE2_TRACE_IR_CLOCK_SNAPSHOT_CONST_H */