lib: standardize public header copyright notice
[babeltrace.git] / include / babeltrace2 / graph / message-iterator.h
index d3b91e382188d98075aef47303544726627ce6f1..ebdc2e68563e75c24c8d9dc239472744926eb696 100644 (file)
@@ -1,9 +1,8 @@
-#ifndef BABELTRACE_GRAPH_MESSAGE_ITERATOR_H
-#define BABELTRACE_GRAPH_MESSAGE_ITERATOR_H
+#ifndef BABELTRACE2_GRAPH_MESSAGE_ITERATOR_H
+#define BABELTRACE2_GRAPH_MESSAGE_ITERATOR_H
 
 /*
- * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
- * Copyright 2015 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.
  */
 
-/* For __BT_FUNC_STATUS_* */
-#define __BT_FUNC_STATUS_ENABLE
-#include <babeltrace2/func-status.h>
-#undef __BT_FUNC_STATUS_ENABLE
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
 
 #ifdef __cplusplus
 extern "C" {
@@ -61,6 +59,4 @@ typedef enum bt_message_iterator_seek_ns_from_origin_status {
 }
 #endif
 
-#include <babeltrace2/undef-func-status.h>
-
-#endif /* BABELTRACE_GRAPH_MESSAGE_ITERATOR_H */
+#endif /* BABELTRACE2_GRAPH_MESSAGE_ITERATOR_H */
This page took 0.023536 seconds and 4 git commands to generate.