X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Funit%2Fpthread_name%2Fpthread_name.c;h=6faacf68224da07f7b0429aeccb9caeae89f509c;hb=74e79a0da99992c182da26abf45447722eaa400d;hp=b6c7831b5720d0c8b4d8cd389736a1d5b055956f;hpb=dbe6ade0ba17270b2cb119b9961bbb7e48ce4733;p=lttng-ust.git diff --git a/tests/unit/pthread_name/pthread_name.c b/tests/unit/pthread_name/pthread_name.c index b6c7831b..6faacf68 100644 --- a/tests/unit/pthread_name/pthread_name.c +++ b/tests/unit/pthread_name/pthread_name.c @@ -1,29 +1,18 @@ -/* Copyright (C) 2020 Michael Jeanson +/* + * SPDX-License-Identifier: LGPL-2.1-only * - * 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; only - * version 2.1 of the License. - * - * 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 + * Copyright (C) 2020 Michael Jeanson */ #include #include -#include "compat.h" +#include "../../../src/liblttng-ust/compat.h" #include "tap.h" #define TEST_NAME_PROPER_LEN 16 -int main() +int main(void) { int ret; char name1[TEST_NAME_PROPER_LEN];