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
/
trace-ir
/
stream-const.h
diff --git
a/include/babeltrace2/trace-ir/stream-const.h
b/include/babeltrace2/trace-ir/stream-const.h
index 9a1d236b7d211d8d848ad6d20e6c6f11fe906b0f..61da523d61897c509823ed4166e213ad224ab7c9 100644
(file)
--- a/
include/babeltrace2/trace-ir/stream-const.h
+++ b/
include/babeltrace2/trace-ir/stream-const.h
@@
-1,5
+1,5
@@
-#ifndef BABELTRACE_TRACE_IR_STREAM_CONST_H
-#define BABELTRACE_TRACE_IR_STREAM_CONST_H
+#ifndef BABELTRACE
2
_TRACE_IR_STREAM_CONST_H
+#define BABELTRACE
2
_TRACE_IR_STREAM_CONST_H
/*
* Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
/*
* Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
@@
-27,6
+27,10
@@
* http://www.efficios.com/ctf
*/
* http://www.efficios.com/ctf
*/
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
/* For bt_trace, bt_stream, bt_stream_class */
#include <babeltrace2/types.h>
/* For bt_trace, bt_stream, bt_stream_class */
#include <babeltrace2/types.h>
@@
-67,4
+71,4
@@
extern void bt_stream_put_ref(const bt_stream *stream);
}
#endif
}
#endif
-#endif /* BABELTRACE_TRACE_IR_STREAM_CONST_H */
+#endif /* BABELTRACE
2
_TRACE_IR_STREAM_CONST_H */
This page took
0.024859 seconds
and
4
git commands to generate.