tests/lib/test_trace_ir_ref.c: rename user structure
[babeltrace.git] / tests / lib / test_trace_ir_ref.c
index 8811cf90ab6cfb0b21e320ff1d4f3b41de26ae06..70caf29cf3053be4d0956b604ab5471f958291b3 100644 (file)
@@ -1,22 +1,9 @@
 /*
- * test_trace_ir_ref.c
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * Trace IR Reference Count test
- *
- * Copyright 2016 - Jérémie Galarneau <jeremie.galarneau@efficios.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; under version 2 of the License.
+ * Copyright (C) 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * Trace IR Reference Count test
  */
 
 #include <stdio.h>
@@ -38,7 +25,7 @@
 
 #define NR_TESTS 37
 
-struct user {
+struct bt_user {
        bt_trace_class *tc;
        bt_stream_class *sc;
        bt_event_class *ec;
@@ -278,7 +265,7 @@ static void test_example_scenario(bt_self_component_source *self_comp)
        bt_stream_class *weak_sc1 = NULL, *weak_sc2 = NULL;
        bt_event_class *weak_ec1 = NULL, *weak_ec2 = NULL,
                        *weak_ec3 = NULL;
-       struct user user_a = { 0 }, user_b = { 0 }, user_c = { 0 };
+       struct bt_user user_a = { 0 }, user_b = { 0 }, user_c = { 0 };
 
        /* The only reference which exists at this point is on TC1. */
        tc1 = create_tc1(self_comp);
This page took 0.023743 seconds and 4 git commands to generate.