X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fmi-lttng.c;h=bd5049efea8b8b88b5b833ad98763a58305a884c;hp=7b0d9cf0266b981db43b3344f9c67ac9d3280f32;hb=9df6c82a8ea4064f9868028b9fc3412f45adbb0a;hpb=2d97a0067600335f07eecb2c1d9ba68fc164583e diff --git a/src/common/mi-lttng.c b/src/common/mi-lttng.c index 7b0d9cf02..bd5049efe 100644 --- a/src/common/mi-lttng.c +++ b/src/common/mi-lttng.c @@ -1,20 +1,10 @@ /* - * Copyright (C) 2014 - Jonathan Rajotte - * - Olivier Cotte - * Copyright (C) 2016 - Jérémie Galarneau + * Copyright (C) 2014 Jonathan Rajotte + * Copyright (C) 2014 Olivier Cotte + * Copyright (C) 2016 Jérémie Galarneau * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License, version 2 only, as - * published by the Free Software Foundation. + * SPDX-License-Identifier: GPL-2.0-only * - * 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. */ #define _LGPL_SOURCE @@ -1662,7 +1652,7 @@ int mi_lttng_targets_open(struct mi_writer *writer) LTTNG_HIDDEN int mi_lttng_id_target(struct mi_writer *writer, enum lttng_tracker_type tracker_type, - struct lttng_tracker_id *id, + const struct lttng_tracker_id *id, int is_open) { int ret;