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-port-output.h
diff --git
a/include/babeltrace2/graph/self-component-port-output.h
b/include/babeltrace2/graph/self-component-port-output.h
index da54390c43a79951f85f4680702353cca8c2c5f4..8e13d7d1868e6a8a6b3cc85dc74f7e09df734d56 100644
(file)
--- a/
include/babeltrace2/graph/self-component-port-output.h
+++ b/
include/babeltrace2/graph/self-component-port-output.h
@@
-1,5
+1,5
@@
-#ifndef BABELTRACE_GRAPH_SELF_COMPONENT_PORT_OUTPUT_H
-#define BABELTRACE_GRAPH_SELF_COMPONENT_PORT_OUTPUT_H
+#ifndef BABELTRACE
2
_GRAPH_SELF_COMPONENT_PORT_OUTPUT_H
+#define BABELTRACE
2
_GRAPH_SELF_COMPONENT_PORT_OUTPUT_H
/*
* Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
/*
* Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
@@
-23,6
+23,10
@@
* SOFTWARE.
*/
* SOFTWARE.
*/
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
/*
* For bt_port_output, bt_self_component_port,
* bt_self_component_port_output, __BT_UPCAST, __BT_UPCAST_CONST
/*
* For bt_port_output, bt_self_component_port,
* bt_self_component_port_output, __BT_UPCAST, __BT_UPCAST_CONST
@@
-52,4
+56,4
@@
const bt_port_output *bt_self_component_port_output_as_port_output(
}
#endif
}
#endif
-#endif /* BABELTRACE_GRAPH_SELF_COMPONENT_PORT_OUTPUT_H */
+#endif /* BABELTRACE
2
_GRAPH_SELF_COMPONENT_PORT_OUTPUT_H */
This page took
0.024868 seconds
and
4
git commands to generate.