.gitignore: add some missing files
[babeltrace.git] / src / lib / graph / message / packet.h
index 7738788c62bb8bf9e86b61f4a8bb68180f889812..451546b7c7f6afe7e22e15fbbb3b8da6b26595f5 100644 (file)
@@ -1,33 +1,16 @@
-#ifndef BABELTRACE_GRAPH_MESSAGE_PACKET_INTERNAL_H
-#define BABELTRACE_GRAPH_MESSAGE_PACKET_INTERNAL_H
-
 /*
+ * SPDX-License-Identifier: MIT
+ *
  * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
  * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
  */
 
+#ifndef BABELTRACE_LIB_GRAPH_MESSAGE_PACKET_H
+#define BABELTRACE_LIB_GRAPH_MESSAGE_PACKET_H
+
 #include "compat/compiler.h"
 #include <babeltrace2/trace-ir/packet.h>
 #include "lib/trace-ir/clock-snapshot.h"
-#include "common/assert.h"
 
 #include "message.h"
 
@@ -37,19 +20,14 @@ struct bt_message_packet {
        struct bt_clock_snapshot *default_cs;
 };
 
-BT_HIDDEN
 void bt_message_packet_destroy(struct bt_message *msg);
 
-BT_HIDDEN
 struct bt_message *bt_message_packet_beginning_new(
                struct bt_graph *graph);
-BT_HIDDEN
 void bt_message_packet_beginning_recycle(struct bt_message *msg);
 
-BT_HIDDEN
 struct bt_message *bt_message_packet_end_new(struct bt_graph *graph);
 
-BT_HIDDEN
 void bt_message_packet_end_recycle(struct bt_message *msg);
 
-#endif /* BABELTRACE_GRAPH_MESSAGE_PACKET_INTERNAL_H */
+#endif /* BABELTRACE_LIB_GRAPH_MESSAGE_PACKET_H */
This page took 0.025424 seconds and 4 git commands to generate.