X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fsession-consumed-size.c;h=dfb72632e26fed863c7463848b354655f3327498;hp=28bc7ff3b3bef772f98225d3db8d371ecc292ab5;hb=25357057de5ae4dd2a572e8f9b893c1b90cbd60a;hpb=9ef5b6be9aba525924d1eab6d3260f4c7ff165ee diff --git a/src/common/session-consumed-size.c b/src/common/session-consumed-size.c index 28bc7ff3b..dfb72632e 100644 --- a/src/common/session-consumed-size.c +++ b/src/common/session-consumed-size.c @@ -1,18 +1,8 @@ /* - * Copyright (C) 2017 - Jérémie Galarneau + * Copyright (C) 2017 Jérémie Galarneau * - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License, version 2.1 only, - * as published by the Free Software Foundation. + * SPDX-License-Identifier: LGPL-2.1-only * - * This library 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 Lesser General Public License - * for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this library; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include @@ -402,7 +392,7 @@ end: static int lttng_evaluation_session_consumed_size_serialize( - struct lttng_evaluation *evaluation, + const struct lttng_evaluation *evaluation, struct lttng_dynamic_buffer *buf) { struct lttng_evaluation_session_consumed_size *consumed;