X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fbuffer-usage.c;h=92081c9103261254b02ff43c0a18f2697959e7f0;hp=dbfae89c8630b7886873892dd0222b75e870b953;hb=235493868254e943513c6552c6821236284f00ac;hpb=821d5e9214017220a76344df586a0985631c69ae diff --git a/src/common/buffer-usage.c b/src/common/buffer-usage.c index dbfae89c8..92081c910 100644 --- a/src/common/buffer-usage.c +++ b/src/common/buffer-usage.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 @@ -739,7 +729,7 @@ end: static int lttng_evaluation_buffer_usage_serialize( - struct lttng_evaluation *evaluation, + const struct lttng_evaluation *evaluation, struct lttng_dynamic_buffer *buf) { struct lttng_evaluation_buffer_usage *usage;