X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Flow-throughput%2Fmain.c;h=b419d1f5bcab181d2a797f0913780ff45153cf3b;hb=849019151cf07f376a4a68ce1669e357f4775657;hp=b1c38bc949964740c5ed35e43cc4f5c97c6c68d3;hpb=76e58a6e4c2003d30b3e9ae1aaa699c64c07a2ef;p=lttng-tools.git diff --git a/tests/regression/ust/low-throughput/main.c b/tests/regression/ust/low-throughput/main.c index b1c38bc94..b419d1f5b 100644 --- a/tests/regression/ust/low-throughput/main.c +++ b/tests/regression/ust/low-throughput/main.c @@ -1,19 +1,8 @@ /* - * Copyright (C) 2012 - David Goulet + * Copyright (C) 2012 David Goulet * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; version 2.1 of - * the License. + * 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 @@ -27,7 +16,7 @@ /* * Thread recording a tracepoint every minute for 20 minutes. */ -static void *th_event_minute(void *data) +static void *th_event_minute(void *data __attribute__((unused))) { int i; @@ -56,7 +45,7 @@ static void *th_event_minute(void *data) /* * main */ -int main(int argc, char **argv) +int main(void) { int ret; void *status;