projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: force user to include `<babeltrace2/babeltrace.h>`
[babeltrace.git]
/
include
/
babeltrace2
/
graph
/
component-class.h
diff --git
a/include/babeltrace2/graph/component-class.h
b/include/babeltrace2/graph/component-class.h
index bd399f3a1c91d1a1b95d50da686c683cbf659576..b666ba93fd008022e43b3ae89873ea12b0c77c4c 100644
(file)
--- a/
include/babeltrace2/graph/component-class.h
+++ b/
include/babeltrace2/graph/component-class.h
@@
-24,14
+24,13
@@
* SOFTWARE.
*/
* SOFTWARE.
*/
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
/* For bt_component_class */
#include <babeltrace2/types.h>
/* For bt_component_class */
#include <babeltrace2/types.h>
-/* For __BT_FUNC_STATUS_* */
-#define __BT_FUNC_STATUS_ENABLE
-#include <babeltrace2/func-status.h>
-#undef __BT_FUNC_STATUS_ENABLE
-
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
@@
-111,6
+110,4
@@
extern bt_component_class_set_help_status bt_component_class_set_help(
}
#endif
}
#endif
-#include <babeltrace2/undef-func-status.h>
-
#endif /* BABELTRACE2_GRAPH_COMPONENT_CLASS_H */
#endif /* BABELTRACE2_GRAPH_COMPONENT_CLASS_H */
This page took
0.025156 seconds
and
4
git commands to generate.