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
/
event-class-const.h
diff --git
a/include/babeltrace2/trace-ir/event-class-const.h
b/include/babeltrace2/trace-ir/event-class-const.h
index 79c4105a612c4bb5bb636e057b9fe464a3b223b1..23c8acd14b463a02f5bf4f6deb3598fe57a7543a 100644
(file)
--- a/
include/babeltrace2/trace-ir/event-class-const.h
+++ b/
include/babeltrace2/trace-ir/event-class-const.h
@@
-1,5
+1,5
@@
-#ifndef BABELTRACE_TRACE_IR_EVENT_CLASS_CONST_H
-#define BABELTRACE_TRACE_IR_EVENT_CLASS_CONST_H
+#ifndef BABELTRACE
2
_TRACE_IR_EVENT_CLASS_CONST_H
+#define BABELTRACE
2
_TRACE_IR_EVENT_CLASS_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_property_availability */
#include <babeltrace2/property.h>
/* For bt_property_availability */
#include <babeltrace2/property.h>
@@
-100,4
+104,4
@@
extern void bt_event_class_put_ref(const bt_event_class *event_class);
}
#endif
}
#endif
-#endif /* BABELTRACE_TRACE_IR_EVENT_CLASS_CONST_H */
+#endif /* BABELTRACE
2
_TRACE_IR_EVENT_CLASS_CONST_H */
This page took
0.024923 seconds
and
4
git commands to generate.