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
/
port-output-message-iterator.h
diff --git
a/include/babeltrace2/graph/port-output-message-iterator.h
b/include/babeltrace2/graph/port-output-message-iterator.h
index bfddd46737c7070c8e00c18bb7e0cfa0d64274e7..04bed3dcffc49952032bc771cf0e2e1c7993dabe 100644
(file)
--- a/
include/babeltrace2/graph/port-output-message-iterator.h
+++ b/
include/babeltrace2/graph/port-output-message-iterator.h
@@
-1,5
+1,5
@@
-#ifndef BABELTRACE_GRAPH_PORT_OUTPUT_MESSAGE_ITERATOR_H
-#define BABELTRACE_GRAPH_PORT_OUTPUT_MESSAGE_ITERATOR_H
+#ifndef BABELTRACE
2
_GRAPH_PORT_OUTPUT_MESSAGE_ITERATOR_H
+#define BABELTRACE
2
_GRAPH_PORT_OUTPUT_MESSAGE_ITERATOR_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
+
#include <stdint.h>
/* For bt_message_iterator_*_status */
#include <stdint.h>
/* For bt_message_iterator_*_status */
@@
-96,4
+100,4
@@
extern void bt_port_output_message_iterator_put_ref(
}
#endif
}
#endif
-#endif /* BABELTRACE_GRAPH_PORT_OUTPUT_MESSAGE_ITERATOR_H */
+#endif /* BABELTRACE
2
_GRAPH_PORT_OUTPUT_MESSAGE_ITERATOR_H */
This page took
0.025191 seconds
and
4
git commands to generate.