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
/
value-const.h
diff --git
a/include/babeltrace2/value-const.h
b/include/babeltrace2/value-const.h
index 01aed6e4bbdb26f462470f22287c34869ea4b7dd..f443a75597a777064fd0508919299e731291f28e 100644
(file)
--- a/
include/babeltrace2/value-const.h
+++ b/
include/babeltrace2/value-const.h
@@
-1,5
+1,5
@@
-#ifndef BABELTRACE
_VALUES
_CONST_H
-#define BABELTRACE
_VALUES
_CONST_H
+#ifndef BABELTRACE
2_VALUE
_CONST_H
+#define BABELTRACE
2_VALUE
_CONST_H
/*
* Copyright (c) 2015-2018 Philippe Proulx <pproulx@efficios.com>
/*
* Copyright (c) 2015-2018 Philippe Proulx <pproulx@efficios.com>
@@
-23,17
+23,16
@@
* SOFTWARE.
*/
* SOFTWARE.
*/
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
#include <stdint.h>
#include <stddef.h>
/* For bt_bool, bt_value */
#include <babeltrace2/types.h>
#include <stdint.h>
#include <stddef.h>
/* For bt_bool, bt_value */
#include <babeltrace2/types.h>
-/* For __BT_FUNC_STATUS_* */
-#define __BT_FUNC_STATUS_ENABLE
-#include <babeltrace2/func-status.h>
-#undef __BT_FUNC_STATUS_ENABLE
-
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
@@
-204,6
+203,4
@@
extern void bt_value_put_ref(const bt_value *value);
}
#endif
}
#endif
-#include <babeltrace2/undef-func-status.h>
-
-#endif /* BABELTRACE_VALUES_CONST_H */
+#endif /* BABELTRACE2_VALUE_CONST_H */
This page took
0.024537 seconds
and
4
git commands to generate.