lib: remove INVALID_PARAMS status
[babeltrace.git] / include / babeltrace2 / graph / self-component.h
index a63312c4a362027d9dfef47fe609e12819950618..f85a50fc6889f8c483f6904cec227db70c4a2384 100644 (file)
@@ -2,7 +2,7 @@
 #define BABELTRACE2_GRAPH_SELF_COMPONENT_H
 
 /*
- * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
+ * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
  * SOFTWARE.
  */
 
-/* For bt_component, bt_self_component, __BT_UPCAST */
-#include <babeltrace2/types.h>
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
 
-/* For __BT_FUNC_STATUS_* */
-#define __BT_FUNC_STATUS_ENABLE
-#include <babeltrace2/func-status.h>
-#undef __BT_FUNC_STATUS_ENABLE
+#include <babeltrace2/types.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -58,6 +56,4 @@ extern void bt_self_component_set_data(
 }
 #endif
 
-#include <babeltrace2/undef-func-status.h>
-
 #endif /* BABELTRACE2_GRAPH_SELF_COMPONENT_H */
This page took 0.025161 seconds and 4 git commands to generate.