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
/
self-component-class-source.h
diff --git
a/include/babeltrace2/graph/self-component-class-source.h
b/include/babeltrace2/graph/self-component-class-source.h
index 4421b4f9c5febf4a2461240ef0009a33cf32228b..6d4dd082f3e8756ff355ed9b8b8a29af8e86fc43 100644
(file)
--- a/
include/babeltrace2/graph/self-component-class-source.h
+++ b/
include/babeltrace2/graph/self-component-class-source.h
@@
-1,5
+1,5
@@
-#ifndef BABELTRACE_GRAPH_SELF_COMPONENT_CLASS_SOURCE_H
-#define BABELTRACE_GRAPH_SELF_COMPONENT_CLASS_SOURCE_H
+#ifndef BABELTRACE
2
_GRAPH_SELF_COMPONENT_CLASS_SOURCE_H
+#define BABELTRACE
2
_GRAPH_SELF_COMPONENT_CLASS_SOURCE_H
/*
* Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
/*
* Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
@@
-24,6
+24,10
@@
* SOFTWARE.
*/
* SOFTWARE.
*/
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
/*
* For bt_component_class_source, bt_self_component_class_source,
* __BT_UPCAST_CONST
/*
* For bt_component_class_source, bt_self_component_class_source,
* __BT_UPCAST_CONST
@@
-47,4
+51,4
@@
bt_self_component_class_source_as_component_class_source(
}
#endif
}
#endif
-#endif /* BABELTRACE_GRAPH_SELF_COMPONENT_CLASS_SOURCE_H */
+#endif /* BABELTRACE
2
_GRAPH_SELF_COMPONENT_CLASS_SOURCE_H */
This page took
0.024736 seconds
and
4
git commands to generate.