X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust-libc-wrapper%2Flttng-ust-pthread.c;h=06bf791b20c2c66f6b3a6b95f3f11dbc99c53be0;hb=b7c3885540ac3ae1a5f1e8f93e9347c28db9fdcc;hp=7836ffa02175d7599e4472403964b1b1069f4c33;hpb=d7e8946293f1db01e934752dada165a85ee7099b;p=lttng-ust.git diff --git a/liblttng-ust-libc-wrapper/lttng-ust-pthread.c b/liblttng-ust-libc-wrapper/lttng-ust-pthread.c index 7836ffa0..06bf791b 100644 --- a/liblttng-ust-libc-wrapper/lttng-ust-pthread.c +++ b/liblttng-ust-libc-wrapper/lttng-ust-pthread.c @@ -1,29 +1,16 @@ /* - * Copyright (C) 2013 Mentor Graphics - * - * 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; either - * version 2.1 of the License, or (at your option) any later version. + * SPDX-License-Identifier: LGPL-2.1-or-later * - * 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) 2013 Mentor Graphics */ -#define _GNU_SOURCE /* * Do _not_ define _LGPL_SOURCE because we don't want to create a * circular dependency loop between this malloc wrapper, liburcu and * libc. */ -#include -#include +#include +#include #include #define TRACEPOINT_DEFINE