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
/
message-stream-end.h
diff --git
a/include/babeltrace2/graph/message-stream-end.h
b/include/babeltrace2/graph/message-stream-end.h
index 5077880fdc77cf7701d95b73e51a4921b7a1954b..948c53f534e98f206b3d93145b300ecb503a6233 100644
(file)
--- a/
include/babeltrace2/graph/message-stream-end.h
+++ b/
include/babeltrace2/graph/message-stream-end.h
@@
-1,5
+1,5
@@
-#ifndef BABELTRACE_GRAPH_MESSAGE_STREAM_END_H
-#define BABELTRACE_GRAPH_MESSAGE_STREAM_END_H
+#ifndef BABELTRACE
2
_GRAPH_MESSAGE_STREAM_END_H
+#define BABELTRACE
2
_GRAPH_MESSAGE_STREAM_END_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_message, bt_self_message_iterator, bt_stream */
#include <babeltrace2/types.h>
/* For bt_message, bt_self_message_iterator, bt_stream */
#include <babeltrace2/types.h>
@@
-47,4
+51,4
@@
void bt_message_stream_end_set_default_clock_snapshot(
}
#endif
}
#endif
-#endif /* BABELTRACE_GRAPH_MESSAGE_STREAM_END_H */
+#endif /* BABELTRACE
2
_GRAPH_MESSAGE_STREAM_END_H */
This page took
0.023637 seconds
and
4
git commands to generate.