X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fvalue-const.h;h=f443a75597a777064fd0508919299e731291f28e;hb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3;hp=01aed6e4bbdb26f462470f22287c34869ea4b7dd;hpb=d24d56638469189904fb6ddbb3c725817b3e9417;p=babeltrace.git diff --git a/include/babeltrace2/value-const.h b/include/babeltrace2/value-const.h index 01aed6e4..f443a755 100644 --- a/include/babeltrace2/value-const.h +++ b/include/babeltrace2/value-const.h @@ -1,5 +1,5 @@ -#ifndef BABELTRACE_VALUES_CONST_H -#define BABELTRACE_VALUES_CONST_H +#ifndef BABELTRACE2_VALUE_CONST_H +#define BABELTRACE2_VALUE_CONST_H /* * Copyright (c) 2015-2018 Philippe Proulx @@ -23,17 +23,16 @@ * SOFTWARE. */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #include #include /* For bt_bool, bt_value */ #include -/* For __BT_FUNC_STATUS_* */ -#define __BT_FUNC_STATUS_ENABLE -#include -#undef __BT_FUNC_STATUS_ENABLE - #ifdef __cplusplus extern "C" { #endif @@ -204,6 +203,4 @@ extern void bt_value_put_ref(const bt_value *value); } #endif -#include - -#endif /* BABELTRACE_VALUES_CONST_H */ +#endif /* BABELTRACE2_VALUE_CONST_H */