lib: standardize public header copyright notice
[babeltrace.git] / include / babeltrace2 / plugin / plugin-const.h
index db01f89b525625a55011e81495090cfffb135f80..892e355050483be269aa752fcf4ee0e2067bc5ca 100644 (file)
@@ -1,11 +1,8 @@
-#ifndef BABELTRACE_PLUGIN_PLUGIN_CONST_H
-#define BABELTRACE_PLUGIN_PLUGIN_CONST_H
+#ifndef BABELTRACE2_PLUGIN_PLUGIN_CONST_H
+#define BABELTRACE2_PLUGIN_PLUGIN_CONST_H
 
 /*
- * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
- * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
- *
- * Author: Jérémie Galarneau <jeremie.galarneau@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.
  */
 
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #include <stdint.h>
 #include <stddef.h>
 
-/*
- * For bt_bool, bt_plugin, bt_plugin_set, bt_component_class,
- * bt_component_class_source, bt_component_class_filter,
- * bt_component_class_sink
- */
 #include <babeltrace2/types.h>
-
-/* For bt_property_availability */
 #include <babeltrace2/property.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
@@ -162,6 +151,4 @@ extern void bt_plugin_put_ref(const bt_plugin *plugin);
 }
 #endif
 
-#include <babeltrace2/undef-func-status.h>
-
-#endif /* BABELTRACE_PLUGIN_PLUGIN_CONST_H */
+#endif /* BABELTRACE2_PLUGIN_PLUGIN_CONST_H */
This page took 0.02828 seconds and 4 git commands to generate.